Bluetooth: Do not attempt to send dlci disconnect when in BT_CONFIG.
authorNick Pelly <npelly@google.com>
Thu, 9 Jul 2009 19:23:44 +0000 (12:23 -0700)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:09:16 +0000 (09:09 -0700)
commit1349d4abcad09162ab1a3d8fa5523ee227806c4a
tree29c303fa52b2147dd5a6a257a2566b1a2fc22c65
parent93739c0025f11be799729e946fdf69473fc4ffc9
Bluetooth: Do not attempt to send dlci disconnect when in BT_CONFIG.

This fixes a bug where shutdown() and close() on a rfcomm socket during ACL
connection would not cause HCI Create Connection Cancel.

Signed-off-by: Nick Pelly <npelly@google.com>
net/bluetooth/rfcomm/core.c