Bluetooth: convert role_switch variable to flag in l2cap chan
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Tue, 11 Oct 2011 11:04:34 +0000 (14:04 +0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 11 Oct 2011 13:48:28 +0000 (10:48 -0300)
commit43bd0f32d5cf6593e420b26e2c1c41dc371a47d7
treeb39bada207ef4fe1e040506c07859542f280bbe3
parent15770b1ab9747de47604da3494e187056b120aff
Bluetooth: convert role_switch variable to flag in l2cap chan

role_switch variable inside l2cap_chan is a logical one and can
be easily converted to flag

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c
net/bluetooth/l2cap_sock.c