Bluetooth: Move HCI_RUNNING check into hci_send_frame
[firefly-linux-kernel-4.4.55.git] / drivers / bluetooth / bpa10x.c
index 8a319913c9a96fd60c6d021c5edd055b83ef0aad..59b892464be5760c31f8deba81c26a1c32e4958f 100644 (file)
@@ -360,9 +360,6 @@ static int bpa10x_send_frame(struct hci_dev *hdev, struct sk_buff *skb)
 
        BT_DBG("%s", hdev->name);
 
-       if (!test_bit(HCI_RUNNING, &hdev->flags))
-               return -EBUSY;
-
        skb->dev = (void *) hdev;
 
        urb = usb_alloc_urb(0, GFP_ATOMIC);