]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe623e88e1256c319364c3d2d39af338efc8aa6b
treed54406f55010dd89ae13e4462e67adceb9d3cd42
parentab8ed242a3b67296c4b772f7be878e1068eac7cf
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