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

Commit ae12d52e authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Marcel Holtmann
Browse files

Bluetooth: Prefer Basic Mode on receipt of ConfigReq



If we choose to use Basic Mode then we have to refuse the received mode
and propose Basic Mode again.

Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 742e519b
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2621,9 +2621,6 @@ static int l2cap_parse_conf_req(struct sock *sk, void *data)
			return -ECONNREFUSED;

		break;
	default:
		pi->mode = l2cap_select_mode(rfc.mode, pi->conn->feat_mask);
		break;
	}

done: