From b404708421d99d4967e2bfd2b8ff9019c79e932b Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Mon, 14 Mar 2011 18:20:33 -0300 Subject: [PATCH] --- yaml --- r: 243688 b: refs/heads/master c: 8763b4da41132e2d5a896cd5e629c3c0a652205e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/bluetooth/btusb.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 89746344bb48..0042c3216d5f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f630cf0d5434e3923e1b8226ffa2753ead6b0ce5 +refs/heads/master: 8763b4da41132e2d5a896cd5e629c3c0a652205e diff --git a/trunk/drivers/bluetooth/btusb.c b/trunk/drivers/bluetooth/btusb.c index 2af2e770f4bd..762a5109c68a 100644 --- a/trunk/drivers/bluetooth/btusb.c +++ b/trunk/drivers/bluetooth/btusb.c @@ -693,7 +693,8 @@ static int btusb_send_frame(struct sk_buff *skb) break; case HCI_ACLDATA_PKT: - if (!data->bulk_tx_ep || hdev->conn_hash.acl_num < 1) + if (!data->bulk_tx_ep || (hdev->conn_hash.acl_num < 1 && + hdev->conn_hash.le_num < 1)) return -ENODEV; urb = usb_alloc_urb(0, GFP_ATOMIC);