Bluetooth: Fix possible NULL pointer derefence in l2cap code
authorSzymon Janc <szymon.janc@tieto.com>
Wed, 16 Nov 2011 08:32:18 +0000 (09:32 +0100)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 16 Nov 2011 20:28:37 +0000 (18:28 -0200)
commitaef89f214e4306153c7913b9854456595153f5d8
tree9554255ce07c4dc773ef058cd4f56ed8ac51df0b
parent36acbb1adadf1ba300f14ee904a7d3f23120e0d6
Bluetooth: Fix possible NULL pointer derefence in l2cap code

Due to ERTM reliability L2CAP channel needs to be disconnected if
adding to srej list failed.

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c