Bluetooth: Disallow to change L2CAP_OPTIONS values when connected
authorGustavo F. Padovan <padovan@profusion.mobi>
Mon, 4 Oct 2010 22:28:52 +0000 (19:28 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 4 Oct 2010 22:28:52 +0000 (19:28 -0300)
commiteaa71b318c5ed0cd1ac3182a533471dc5edf372d
tree2e6b3cf97970543070334e90b4b2300b04f460d2
parente454c844644683571617896ab2a4ce0109c1943e
Bluetooth: Disallow to change L2CAP_OPTIONS values when connected

L2CAP doesn't permit change like MTU, FCS, TxWindow values while the
connection is alive, we can only set that before the
connection/configuration process. That can lead to bugs in the L2CAP
operation.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap.c