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: v3.0~349^2~16^2~94^2~94 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c6d1a2eec5c49793c6760546d05515ce1b76881;p=platform%2Fkernel%2Flinux-amlogic.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 c9f9cec..b5a1ce0 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);