Bluetooth: Use __l2cap_no_conn_pending helper
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Thu, 15 Nov 2012 16:14:53 +0000 (18:14 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 19 Nov 2012 21:24:45 +0000 (19:24 -0200)
commit96eff46e9f5632efa0d2941f7e028701a5f1a0f6
treef5d7604239ee81bb35f41a84494d5adfaf864d54
parentc1d5dc4ac15be45c7061e207f06ad8dfba0c2170
Bluetooth: Use __l2cap_no_conn_pending helper

Use helper instead of test_bit. This is the only place left using
test CONF_CONNECT_PEND flag.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c