summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Massot <jmassot@aldebaran-robotics.com>2014-01-06 22:52:48 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2014-01-18 13:40:25 +0400
commit61118fbf5ba01a88d7f7b2210f44b6278f4a597f (patch)
treeda5c2dc60839ee78d38f3b1bff31e11a7ccfa342
parent987cdcba62da369d41f61bb1026d40d670c4efe6 (diff)
downloadlinux-61118fbf5ba01a88d7f7b2210f44b6278f4a597f.tar.xz
ath6kl: set rx urb count threshold to 1
Reduce the Rx count threshold to make sure we read the available credits for Tx. Signed-off-by: Julien Massot <jmassot@aldebaran-robotics.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
-rw-r--r--drivers/net/wireless/ath/ath6kl/usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/usb.c b/drivers/net/wireless/ath/ath6kl/usb.c
index bbaf867c7d14..56c3fd5cef65 100644
--- a/drivers/net/wireless/ath/ath6kl/usb.c
+++ b/drivers/net/wireless/ath/ath6kl/usb.c
@@ -481,8 +481,8 @@ static void ath6kl_usb_start_recv_pipes(struct ath6kl_usb *ar_usb)
* ATH6KL_USB_RX_BUFFER_SIZE);
*/
- ar_usb->pipes[ATH6KL_USB_PIPE_RX_DATA].urb_cnt_thresh =
- ar_usb->pipes[ATH6KL_USB_PIPE_RX_DATA].urb_alloc / 2;
+ ar_usb->pipes[ATH6KL_USB_PIPE_RX_DATA].urb_cnt_thresh = 1;
+
ath6kl_usb_post_recv_transfers(&ar_usb->pipes[ATH6KL_USB_PIPE_RX_DATA],
ATH6KL_USB_RX_BUFFER_SIZE);
}