Bluetooth: Use bit operations on conn_state
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 11 Jun 2011 00:28:49 +0000 (21:28 -0300)
committerJaikumar Ganesh <jaikumar@google.com>
Mon, 11 Jul 2011 18:59:24 +0000 (11:59 -0700)
commite299c1cdf83f23674c96545611306f8a1dfe7fff
tree6c0212954c9edb5500fd2bf5ac3dde6797a36521
parent2ddee5a3fdbf4298113c24bef0ff3063070824a0
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