Bluetooth: Don't accept ConfigReq if we aren't in the BT_CONFIG state
authorGustavo F. Padovan <padovan@profusion.mobi>
Mon, 14 Jun 2010 05:26:15 +0000 (02:26 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 6 Dec 2010 17:37:50 +0000 (15:37 -0200)
commitdf6bd743b6f06b066c1c3ba7f2853a6e8d61468c
tree8d55a69b4282f018c3639134eae3a9947ae6c253
parent09f921f83faa49cdea25abfb98c439c01526b89d
Bluetooth: Don't accept ConfigReq if we aren't in the BT_CONFIG state

If such event happens we shall reply with a Command Reject, because we are
not expecting any configure request.

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