summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/usb.c
diff options
context:
space:
mode:
authorJulien Massot <jmassot@aldebaran-robotics.com>2014-01-06 19:52:47 +0100
committerKalle Valo <kvalo@qca.qualcomm.com>2014-01-18 11:40:11 +0200
commit987cdcba62da369d41f61bb1026d40d670c4efe6 (patch)
treed00854ee4315c1a5568cc2c5936371cc6af295d6 /drivers/net/wireless/ath/ath6kl/usb.c
parent608cfbe4abaf76e9d732efd7ed1cfa3998163d91 (diff)
downloadop-kernel-dev-987cdcba62da369d41f61bb1026d40d670c4efe6.zip
op-kernel-dev-987cdcba62da369d41f61bb1026d40d670c4efe6.tar.gz
ath6kl: increase usb rx buffer size to 4096
With the previous value (1700), some urb are dropped with a babble error (urb status equal -EOVERFLOW). These error seems to only happen when urb length is a multiple of packet size (512). Signed-off-by: Julien Massot <jmassot@aldebaran-robotics.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/usb.c')
-rw-r--r--drivers/net/wireless/ath/ath6kl/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/usb.c b/drivers/net/wireless/ath/ath6kl/usb.c
index f38ff6a..bbaf867c 100644
--- a/drivers/net/wireless/ath/ath6kl/usb.c
+++ b/drivers/net/wireless/ath/ath6kl/usb.c
@@ -24,7 +24,7 @@
/* constants */
#define TX_URB_COUNT 32
#define RX_URB_COUNT 32
-#define ATH6KL_USB_RX_BUFFER_SIZE 1700
+#define ATH6KL_USB_RX_BUFFER_SIZE 4096
/* tx/rx pipes for usb */
enum ATH6KL_USB_PIPE_ID {
OpenPOWER on IntegriCloud