projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0d2199
)
Bluetooth: Improve error message on wrong link type
author
Gustavo F. Padovan
<padovan@profusion.mobi>
Wed, 23 Mar 2011 17:38:32 +0000
(14:38 -0300)
committer
Gustavo 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
patch
|
blob
|
history
diff --git
a/net/bluetooth/l2cap_core.c
b/net/bluetooth/l2cap_core.c
index c9f9cecca5270f129217a691a16115ebbaddbf92..b5a1ce06e1c0da4309ba0027c468e65b3aeb9c44 100644
(file)
--- 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);