summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/af_bluetooth.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2013-09-16 13:05:17 +0300
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-09-18 16:48:32 -0500
commit9245e7375816c4d94d6327c8761b3c7431a5bc2f (patch)
tree5939a685dd15a3a40e39c37b3658c6325f1ca6cd /net/bluetooth/af_bluetooth.c
parent7c2005d6f9128aec77833019f5c134e4c63af9c5 (diff)
Bluetooth: Fix sending responses to identified L2CAP response packets
When L2CAP packets return a non-zero error and the value is passed onwards by l2cap_bredr_sig_cmd this will trigger a command reject packet to be sent. However, the core specification (page 1416 in core 4.0) says the following: "Command Reject packets should not be sent in response to an identified Response packet.". This patch ensures that a command reject packet is not sent for any identified response packet by ignoring the error return value from the response handler functions. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/af_bluetooth.c')
0 files changed, 0 insertions, 0 deletions