]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Bluetooth: Use chan instead of l2cap_pi macro
authorGustavo F. Padovan <padovan@profusion.mobi>
Fri, 9 Dec 2011 06:40:10 +0000 (04:40 -0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Fri, 16 Dec 2011 20:16:14 +0000 (18:16 -0200)
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_sock.c

index b85e3906b3a8b8730c77ec04b85dc9b1ae5d2862..fbdc8b38d9eeb6ce5c94c079efb42c8f742dc70f 100644 (file)
@@ -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;