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

Commit 79de886d authored by Andrei Emeltchenko's avatar Andrei Emeltchenko Committed by Gustavo Padovan
Browse files

Bluetooth: Send EFS Conf Rsp only for BR/EDR chan



Do not send EFS Configuration Response for High Speed channel yet.
It will be sent after receiving Logical Link Complete event.

Signed-off-by: default avatarAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Acked-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
parent 1d13a254
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -3709,7 +3709,11 @@ static inline int l2cap_config_req(struct l2cap_conn *conn,

		/* check compatibility */

		/* Send rsp for BR/EDR channel */
		if (!chan->ctrl_id)
			l2cap_send_efs_conf_rsp(chan, rsp, cmd->ident, flags);
		else
			chan->ident = cmd->ident;
	}

unlock:
@@ -3758,7 +3762,11 @@ static inline int l2cap_config_rsp(struct l2cap_conn *conn,

			/* check compatibility */

			l2cap_send_efs_conf_rsp(chan, buf, cmd->ident, 0);
			if (!chan->ctrl_id)
				l2cap_send_efs_conf_rsp(chan, buf, cmd->ident,
							0);
			else
				chan->ident = cmd->ident;
		}
		goto done;