diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/usb.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/usb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/usb.c b/drivers/net/wireless/ath/ath6kl/usb.c index f38ff6a6255e..56c3fd5cef65 100644 --- a/drivers/net/wireless/ath/ath6kl/usb.c +++ b/drivers/net/wireless/ath/ath6kl/usb.c | |||
@@ -24,7 +24,7 @@ | |||
24 | /* constants */ | 24 | /* constants */ |
25 | #define TX_URB_COUNT 32 | 25 | #define TX_URB_COUNT 32 |
26 | #define RX_URB_COUNT 32 | 26 | #define RX_URB_COUNT 32 |
27 | #define ATH6KL_USB_RX_BUFFER_SIZE 1700 | 27 | #define ATH6KL_USB_RX_BUFFER_SIZE 4096 |
28 | 28 | ||
29 | /* tx/rx pipes for usb */ | 29 | /* tx/rx pipes for usb */ |
30 | enum ATH6KL_USB_PIPE_ID { | 30 | enum ATH6KL_USB_PIPE_ID { |
@@ -481,8 +481,8 @@ static void ath6kl_usb_start_recv_pipes(struct ath6kl_usb *ar_usb) | |||
481 | * ATH6KL_USB_RX_BUFFER_SIZE); | 481 | * ATH6KL_USB_RX_BUFFER_SIZE); |
482 | */ | 482 | */ |
483 | 483 | ||
484 | ar_usb->pipes[ATH6KL_USB_PIPE_RX_DATA].urb_cnt_thresh = | 484 | ar_usb->pipes[ATH6KL_USB_PIPE_RX_DATA].urb_cnt_thresh = 1; |
485 | ar_usb->pipes[ATH6KL_USB_PIPE_RX_DATA].urb_alloc / 2; | 485 | |
486 | ath6kl_usb_post_recv_transfers(&ar_usb->pipes[ATH6KL_USB_PIPE_RX_DATA], | 486 | ath6kl_usb_post_recv_transfers(&ar_usb->pipes[ATH6KL_USB_PIPE_RX_DATA], |
487 | ATH6KL_USB_RX_BUFFER_SIZE); | 487 | ATH6KL_USB_RX_BUFFER_SIZE); |
488 | } | 488 | } |