Bluetooth: Simplify check if L2CAP connection is AMP capable
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 5 Oct 2013 18:47:49 +0000 (11:47 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 6 Oct 2013 08:26:31 +0000 (10:26 +0200)
commit1df7b17a87b1aa4d08c461fce06226d33910bf94
tree3f6191cd1611c49eb2e95ff853f599d5c1ed5726
parent80d58d0b5b18b68addad61e228ced167f8b80dd3
Bluetooth: Simplify check if L2CAP connection is AMP capable

The check if a L2CAP connection is AMP capable was a little bit
complicated. This changes the code to make it simpler and more
readable.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/l2cap_core.c