|
@@ -1156,9 +1156,6 @@ static int btusb_send_frame(struct hci_dev *hdev, struct sk_buff *skb)
|
|
|
|
|
|
BT_DBG("%s", hdev->name);
|
|
BT_DBG("%s", hdev->name);
|
|
|
|
|
|
- if (!test_bit(HCI_RUNNING, &hdev->flags))
|
|
|
|
- return -EBUSY;
|
|
|
|
-
|
|
|
|
switch (bt_cb(skb)->pkt_type) {
|
|
switch (bt_cb(skb)->pkt_type) {
|
|
case HCI_COMMAND_PKT:
|
|
case HCI_COMMAND_PKT:
|
|
urb = alloc_ctrl_urb(hdev, skb);
|
|
urb = alloc_ctrl_urb(hdev, skb);
|
|
@@ -1843,9 +1840,6 @@ static int btusb_send_frame_intel(struct hci_dev *hdev, struct sk_buff *skb)
|
|
|
|
|
|
BT_DBG("%s", hdev->name);
|
|
BT_DBG("%s", hdev->name);
|
|
|
|
|
|
- if (!test_bit(HCI_RUNNING, &hdev->flags))
|
|
|
|
- return -EBUSY;
|
|
|
|
-
|
|
|
|
switch (bt_cb(skb)->pkt_type) {
|
|
switch (bt_cb(skb)->pkt_type) {
|
|
case HCI_COMMAND_PKT:
|
|
case HCI_COMMAND_PKT:
|
|
if (test_bit(BTUSB_BOOTLOADER, &data->flags)) {
|
|
if (test_bit(BTUSB_BOOTLOADER, &data->flags)) {
|