summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/bluetooth.h
diff options
context:
space:
mode:
authorGustavo Padovan2012-05-16 17:17:10 +0200
committerGustavo Padovan2012-05-16 21:14:17 +0200
commitc5daa683f2d3315cd766f550ef7d88bfca1671f4 (patch)
tree91a974326357fd923a52818107b8ba99cad1e111 /include/net/bluetooth/bluetooth.h
parentBluetooth: report the right security level in getsockopt (diff)
downloadkernel-qcow2-linux-c5daa683f2d3315cd766f550ef7d88bfca1671f4.tar.gz
kernel-qcow2-linux-c5daa683f2d3315cd766f550ef7d88bfca1671f4.tar.xz
kernel-qcow2-linux-c5daa683f2d3315cd766f550ef7d88bfca1671f4.zip
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/bluetooth/bluetooth.h')
-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 7981ca48b83a..961669b648fd 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 {