]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/bluetooth/sco.c
kernel-doc: detect/prevent duplicate doc section names
[linux-2.6-omap-h63xx.git] / net / bluetooth / sco.c
index cd887cdca426b68d7af1c58ea9e8e69cd74913e2..b0d487e2db206899576b26a62ed0f245673b339c 100644 (file)
@@ -803,7 +803,7 @@ static void sco_conn_ready(struct sco_conn *conn)
 
                bh_lock_sock(parent);
 
-               sk = sco_sock_alloc(parent->sk_net, NULL, BTPROTO_SCO, GFP_ATOMIC);
+               sk = sco_sock_alloc(sock_net(parent), NULL, BTPROTO_SCO, GFP_ATOMIC);
                if (!sk) {
                        bh_unlock_sock(parent);
                        goto done;