Bluetooth: Move specific Basic Mode code to the right place
authorGustavo F. Padovan <padovan@profusion.mobi>
Sat, 1 May 2010 19:15:35 +0000 (16:15 -0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 May 2010 07:28:45 +0000 (09:28 +0200)
commitc69163e9ed5048407cc84f439cbfecc53f6f7131
treed54406f55010dd89ae13e4462e67adceb9d3cd42
parentb9dbdbc1f4404cba2e64939c30c87d59c9796e4e
Bluetooth: Move specific Basic Mode code to the right place

Inside "case L2CAP_MODE_BASIC:" we don't need to check for sk_type and
L2CAP mode. So only the length check is fine.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Reviewed-by: João Paulo Rechi Vita <jprvita@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c