]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Bluetooth: AMP: Use set_bit / test_bit for amp_mgr state
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Fri, 7 Dec 2012 12:59:08 +0000 (14:59 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 9 Jan 2013 19:05:05 +0000 (17:05 -0200)
commitcb6801c640c759fe02c812728c2661bd8ba5a302
tree41a0c3980eb805049de1cbc654a90284131a1b98
parentcbf54ad104cb2ec6f5734d95be1dc783bea0343b
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>
include/net/bluetooth/a2mp.h
net/bluetooth/a2mp.c
net/bluetooth/amp.c