commit | 2c6d1a2eec5c49793c6760546d05515ce1b76881 | [log] [tgz] |
---|---|---|
author | Gustavo F. Padovan <padovan@profusion.mobi> | Wed Mar 23 14:38:32 2011 -0300 |
committer | Gustavo F. Padovan <padovan@profusion.mobi> | Thu Mar 31 14:22:54 2011 -0300 |
tree | 16a3abad82a9df44dba0b2b710368e7f26fa7092 | |
parent | b0d2199d6ff9f788b324fe54b1f783aff83502c4 [diff] [blame] |
Bluetooth: Improve error message on wrong link type Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
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 @@ 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);