Hi Johan, > The EFAULT error should only be used for memory address related errors > and ENOENT might be needed for other purposes than invalid CID errors. > This patch fixes the l2cap_config_req, l2cap_connect_create_rsp and > l2cap_create_channel_req handlers to use the unique EBADSLT error to > indicate failed lookups on a given CID. > > Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx> > --- > net/bluetooth/l2cap_core.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 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