Hi Johan, > 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@xxxxxxxxx> > --- > net/bluetooth/l2cap_core.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) Acked-by: Marcel Holtmann <marcel@xxxxxxxxxxxx> Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html