Bluetooth: Do not purge queue in Basic Mode
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Fri, 18 May 2012 23:22:38 +0000 (20:22 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 5 Jun 2012 03:34:05 +0000 (06:34 +0300)
commitee556f662ca9e96a3cdb0d10745f9fd0cbf549af
tree6e704c6181281e75ea1b083674b44ef1003371bf
parentd1de6d46dc7b503d77ec59c849acacadfece1da1
Bluetooth: Do not purge queue in Basic Mode

chan->tx_q is only initialized if we use ERTM or Streaming mode.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c