]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Bluetooth: Improve error message on wrong link type
authorGustavo F. Padovan <padovan@profusion.mobi>
Wed, 23 Mar 2011 17:38:32 +0000 (14:38 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 31 Mar 2011 17:22:54 +0000 (14:22 -0300)
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c

index c9f9cecca5270f129217a691a16115ebbaddbf92..b5a1ce06e1c0da4309ba0027c468e65b3aeb9c44 100644 (file)
@@ -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);