Bluetooth: Fixes l2cap "command reject" reply according to spec
authorIlia Kolomisnky <iliak@ti.com>
Sun, 10 Jul 2011 05:47:44 +0000 (08:47 +0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 11 Jul 2011 04:43:25 +0000 (01:43 -0300)
commite2fd318e3a9208245ee1041f6d413c8593fba29d
tree09eb380881b2c82922f69cdf5dced58143e6695e
parent8f360119243c214eb5c5549c61981d51a276154a
Bluetooth: Fixes l2cap "command reject" reply according to spec

There can 3 reasons for the "command reject" reply produced
by the stack. Each such reply should be accompanied by the
relevand data ( as defined in spec. ). Currently there is one
instance of "command reject" reply with reason "invalid cid"
wich is fixed. Also, added clean-up definitions related to the
"command reject" replies.

Signed-off-by: Ilia Kolomisnky <iliak@ti.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c