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

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

Bluetooth: Keep code under column 80



Purely a cosmetic change, it doesn't change the code flow.

Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 89746b85
Loading
Loading
Loading
Loading
+25 −21
Original line number Diff line number Diff line
@@ -522,10 +522,14 @@ static void l2cap_conn_start(struct l2cap_conn *conn)
		}

		if (sk->sk_state == BT_CONNECT) {
			if (l2cap_check_security(sk) &&
					__l2cap_no_conn_pending(sk)) {
			struct l2cap_conn_req req;

			if (!l2cap_check_security(sk) ||
					!__l2cap_no_conn_pending(sk)) {
				bh_unlock_sock(sk);
				continue;
			}

			if (!l2cap_mode_supported(l2cap_pi(sk)->mode,
					conn->feat_mask)
					&& l2cap_pi(sk)->conf_state &
@@ -546,7 +550,7 @@ static void l2cap_conn_start(struct l2cap_conn *conn)

			l2cap_send_cmd(conn, l2cap_pi(sk)->ident,
				L2CAP_CONN_REQ, sizeof(req), &req);
			}

		} else if (sk->sk_state == BT_CONNECT2) {
			struct l2cap_conn_rsp rsp;
			char buf[128];