提交 2c6d1a2e 编写于 作者: G Gustavo F. Padovan

Bluetooth: Improve error message on wrong link type

Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册