Bluetooth: Improve error message on wrong link type
[deliverable/linux.git] / 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);
This page took 0.094045 seconds and 5 git commands to generate.