Bluetooth: Use bit operations on conn_state
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 11 Jun 2011 00:28:49 +0000 (21:28 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 16 Jun 2011 21:57:15 +0000 (18:57 -0300)
commite2ab43536c53ba112a0adfb4c0dba286544c41f6
tree5387e283430437f54c743fa2d9b33538e9850594
parentc1360a1cf35117d6f3898cb5183ce4349d06714c
Bluetooth: Use bit operations on conn_state

Instead of setting bits manually we use set_bit, test_bit, etc.
Also remove L2CAP_ prefix from macros.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c