aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2012-12-07 07:59:08 -0500
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-01-09 14:05:05 -0500
commitcb6801c640c759fe02c812728c2661bd8ba5a302 (patch)
tree41a0c3980eb805049de1cbc654a90284131a1b98 /include/net/bluetooth
parentcbf54ad104cb2ec6f5734d95be1dc783bea0343b (diff)
Bluetooth: AMP: Use set_bit / test_bit for amp_mgr state
Using bit operations solves problems with multiple requests and clearing state. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/a2mp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/a2mp.h b/include/net/bluetooth/a2mp.h
index 8b39327a5200..487b54c1308f 100644
--- a/include/net/bluetooth/a2mp.h
+++ b/include/net/bluetooth/a2mp.h
@@ -34,7 +34,7 @@ struct amp_mgr {
34 struct kref kref; 34 struct kref kref;
35 __u8 ident; 35 __u8 ident;
36 __u8 handle; 36 __u8 handle;
37 enum amp_mgr_state state; 37 unsigned long state;
38 unsigned long flags; 38 unsigned long flags;
39 39
40 struct list_head amp_ctrls; 40 struct list_head amp_ctrls;