diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-12-07 14:59:08 +0200 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-01-09 17:05:05 -0200 |
commit | cb6801c640c759fe02c812728c2661bd8ba5a302 (patch) | |
tree | 41a0c3980eb805049de1cbc654a90284131a1b98 /include/net | |
parent | cbf54ad104cb2ec6f5734d95be1dc783bea0343b (diff) | |
download | op-kernel-dev-cb6801c640c759fe02c812728c2661bd8ba5a302.zip op-kernel-dev-cb6801c640c759fe02c812728c2661bd8ba5a302.tar.gz |
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')
-rw-r--r-- | include/net/bluetooth/a2mp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/a2mp.h b/include/net/bluetooth/a2mp.h index 8b39327..487b54c 100644 --- a/include/net/bluetooth/a2mp.h +++ b/include/net/bluetooth/a2mp.h @@ -34,7 +34,7 @@ struct amp_mgr { struct kref kref; __u8 ident; __u8 handle; - enum amp_mgr_state state; + unsigned long state; unsigned long flags; struct list_head amp_ctrls; |