Bluetooth: Fix clearing of chan->omtu for LE CoC channels
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 7 Oct 2013 14:15:25 +0000 (16:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Dec 2013 15:05:35 +0000 (07:05 -0800)
commitaeddd075d5483cc9a34cd98b0df967f28d651f93
tree5c25446296504090cde1817aa9b5eaf8d3a2ea65
parent3916aed81f1fd07f71a597080690d36f02e88850
Bluetooth: Fix clearing of chan->omtu for LE CoC channels

The outgoing MTU should only be set upon channel creation to the initial
minimum value (23) or from a remote connect req/rsp PDU.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c