]> git.baikalelectronics.ru Git - 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)
commit312596c9470435f82b55f4fefaa9b0bb7d768c38
tree41a0c3980eb805049de1cbc654a90284131a1b98
parent9fa869c7ed8525fa54f731a93827f76f71d6e010
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