Bluetooth: Fix not closing SCO sockets in the BT_CONNECT2 state
[deliverable/linux.git] / net / bluetooth / sco.c
index 57f250c20e399851ca6998d9813dc60e3ffa3455..aaf1957bc4fea023e0be0d66fb96e64e359dfc54 100644 (file)
@@ -361,6 +361,7 @@ static void __sco_sock_close(struct sock *sk)
                        sco_chan_del(sk, ECONNRESET);
                break;
 
+       case BT_CONNECT2:
        case BT_CONNECT:
        case BT_DISCONN:
                sco_chan_del(sk, ECONNRESET);
This page took 0.026552 seconds and 5 git commands to generate.