summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-03-23 20:38:32 +0300
committerGustavo F. Padovan <padovan@profusion.mobi>2011-03-31 21:22:54 +0400
commit2c6d1a2eec5c49793c6760546d05515ce1b76881 (patch)
tree16a3abad82a9df44dba0b2b710368e7f26fa7092 /net
parentb0d2199d6ff9f788b324fe54b1f783aff83502c4 (diff)
downloadlinux-2c6d1a2eec5c49793c6760546d05515ce1b76881.tar.xz
Bluetooth: Improve error message on wrong link type
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/l2cap_core.c3
1 files changed, 2 insertions, 1 deletions
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);