summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo@padovan.org>2012-05-16 12:17:10 -0300
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2012-05-16 16:14:17 -0300
commitc5daa683f2d3315cd766f550ef7d88bfca1671f4 (patch)
tree91a974326357fd923a52818107b8ba99cad1e111 /include/net
parentc6585a4da0c709a7a9f59aab68869298b52ca1e1 (diff)
downloadop-kernel-dev-c5daa683f2d3315cd766f550ef7d88bfca1671f4.zip
op-kernel-dev-c5daa683f2d3315cd766f550ef7d88bfca1671f4.tar.gz
Bluetooth: Create flags for bt_sk()
defer_setup and suspended are now flags into bt_sk(). Signed-off-by: Gustavo Padovan <gustavo@padovan.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/bluetooth.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h
index 7981ca4..961669b 100644
--- a/include/net/bluetooth/bluetooth.h
+++ b/include/net/bluetooth/bluetooth.h
@@ -194,8 +194,12 @@ struct bt_sock {
bdaddr_t dst;
struct list_head accept_q;
struct sock *parent;
- u32 defer_setup;
- bool suspended;
+ unsigned long flags;
+};
+
+enum {
+ BT_SK_DEFER_SETUP,
+ BT_SK_SUSPEND,
};
struct bt_sock_list {
OpenPOWER on IntegriCloud