Hi Johan, > When an L2CAP request handler returns non-zero the calling code will > send a command reject response. The l2cap_create_chan_req function will > in some cases send its own response but then still return a -EFAULT > error which would cause two responses to be sent. This patch fixes this > by making the function return 0 after sending its own response. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > net/bluetooth/l2cap_core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) 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