mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
Bluetooth: Improve error message on wrong link type
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
This commit is contained in:
parent
b0d2199d6f
commit
2c6d1a2eec
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user