diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-03-23 17:38:32 (GMT) |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-03-31 17:22:54 (GMT) |
commit | 2c6d1a2eec5c49793c6760546d05515ce1b76881 (patch) | |
tree | 16a3abad82a9df44dba0b2b710368e7f26fa7092 /net/bluetooth | |
parent | b0d2199d6ff9f788b324fe54b1f783aff83502c4 (diff) | |
download | linux-fsl-qoriq-2c6d1a2eec5c49793c6760546d05515ce1b76881.tar.xz |
Bluetooth: Improve error message on wrong link type
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |