Commit 2c6d1a2e authored by Gustavo F. Padovan's avatar Gustavo F. Padovan

Bluetooth: Improve error message on wrong link type

Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent b0d2199d
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment