]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: fix MTU L2CAP configuration parameter
authorAndrei Emeltchenko <andrei.emeltchenko@nokia.com>
Wed, 1 Sep 2010 12:17:25 +0000 (15:17 +0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 30 Sep 2010 15:19:35 +0000 (12:19 -0300)
commit5b4a9d7b5581d71af97f1fc6556cc2fba879a93f
treecdd7ec2b4a8d0507a4ea51e1db393f6275e0cec0
parent3cda84322bca28323fc17396355b205108936607
Bluetooth: fix MTU L2CAP configuration parameter

When receiving L2CAP negative configuration response with respect
to MTU parameter we modify wrong field. MTU here means proposed
value of MTU that the remote device intends to transmit. So for local
L2CAP socket it is pi->imtu.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@nokia.com>
Acked-by: Ville Tervo <ville.tervo@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap.c