diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-12-07 13:59:08 +0100 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-01-09 20:05:05 +0100 |
commit | cb6801c640c759fe02c812728c2661bd8ba5a302 (patch) | |
tree | 41a0c3980eb805049de1cbc654a90284131a1b98 /include/net | |
parent | Bluetooth: AMP: Remove dead code (diff) | |
download | linux-cb6801c640c759fe02c812728c2661bd8ba5a302.tar.xz linux-cb6801c640c759fe02c812728c2661bd8ba5a302.zip |
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 8b39327a5200..487b54c1308f 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; |