From: Gustavo F. Padovan Date: Fri, 9 Dec 2011 06:40:10 +0000 (-0200) Subject: Bluetooth: Use chan instead of l2cap_pi macro X-Git-Tag: firefly_0821_release~3680^2~3834^2~44^2~71^2~39 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f9c3123b5a7c9585902927b14983e6635aca00c6;p=firefly-linux-kernel-4.4.55.git Bluetooth: Use chan instead of l2cap_pi macro Signed-off-by: Gustavo F. Padovan --- diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c index b85e3906b3a8..fbdc8b38d9ee 100644 --- a/net/bluetooth/l2cap_sock.c +++ b/net/bluetooth/l2cap_sock.c @@ -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;