From: Gustavo F. Padovan Date: Wed, 23 Mar 2011 17:38:32 +0000 (-0300) Subject: Bluetooth: Improve error message on wrong link type X-Git-Tag: MMI-PSA29.97-13-9~19291^2~16^2~94^2~94 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2c6d1a2eec5c49793c6760546d05515ce1b76881;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Bluetooth: Improve error message on wrong link type Signed-off-by: Gustavo F. Padovan --- diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index c9f9cecca527..b5a1ce06e1c0 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -2670,7 +2670,8 @@ static inline void l2cap_sig_channel(struct l2cap_conn *conn, if (err) { struct l2cap_cmd_rej rej; - BT_DBG("error %d", err); + + BT_ERR("Wrong link type (%d)", err); /* FIXME: Map err to a valid reason */ rej.reason = cpu_to_le16(0);