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

Commit f9c3123b authored by Gustavo Padovan's avatar Gustavo Padovan
Browse files

Bluetooth: Use chan instead of l2cap_pi macro

parent dc8ed672
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -176,7 +176,7 @@ static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, int al
	chan->psm = la.l2_psm;
	chan->dcid = la.l2_cid;

	err = l2cap_chan_connect(l2cap_pi(sk)->chan);
	err = l2cap_chan_connect(chan);
	if (err)
		goto done;