Revert "Bluetooth: btusb: Fix not handling ZPL/short-transfer"
This reverts commit 4fcf5af75d
.
This commit is contained in:
parent
5ca325c27a
commit
40378ea342
1 changed files with 1 additions and 4 deletions
|
@ -928,10 +928,7 @@ static int btusb_submit_intr_urb(struct hci_dev *hdev, gfp_t mem_flags)
|
|||
if (!urb)
|
||||
return -ENOMEM;
|
||||
|
||||
/* Use maximum HCI Event size so the USB stack handles
|
||||
* ZPL/short-transfer automatically.
|
||||
*/
|
||||
size = HCI_MAX_EVENT_SIZE;
|
||||
size = le16_to_cpu(data->intr_ep->wMaxPacketSize);
|
||||
|
||||
buf = kmalloc(size, mem_flags);
|
||||
if (!buf) {
|
||||
|
|
Loading…
Reference in a new issue