Bluetooth: Fix issue with uninitialized nsh.type in DTL-1 driver
[pandora-kernel.git] / drivers / bluetooth / dtl1_cs.c
index 901bdd9..2cc7b32 100644 (file)
@@ -415,6 +415,8 @@ static int dtl1_hci_send_frame(struct sk_buff *skb)
                hdev->stat.sco_tx++;
                nsh.type = 0x83;
                break;
+       default:
+               return -EILSEQ;
        };
 
        nsh.zero = 0;