Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c6d1a2e authored by Gustavo Padovan's avatar Gustavo Padovan
Browse files

Bluetooth: Improve error message on wrong link type

parent b0d2199d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);