aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtl818x
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2009-01-23 12:30:54 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-01-29 16:01:29 -0500
commit2a57cf3e83f89150f2ac9b6f01caf3fcdbb36486 (patch)
tree0d0289453552088860594da7929af4057162dd6f /drivers/net/wireless/rtl818x
parent66aafd9a3108da465a73bd755366416e75fb9d3d (diff)
rtl8187: Increase receive queue depth
The receive queue depth in rtl8187 may not be long enough to keep the pipe full. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl818x')
-rw-r--r--drivers/net/wireless/rtl818x/rtl8187_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8187_dev.c b/drivers/net/wireless/rtl818x/rtl8187_dev.c
index 313ede7d7b49..db7318d1d401 100644
--- a/drivers/net/wireless/rtl818x/rtl8187_dev.c
+++ b/drivers/net/wireless/rtl818x/rtl8187_dev.c
@@ -391,7 +391,7 @@ static int rtl8187_init_urbs(struct ieee80211_hw *dev)
391 struct rtl8187_rx_info *info; 391 struct rtl8187_rx_info *info;
392 int ret = 0; 392 int ret = 0;
393 393
394 while (skb_queue_len(&priv->rx_queue) < 8) { 394 while (skb_queue_len(&priv->rx_queue) < 16) {
395 skb = __dev_alloc_skb(RTL8187_MAX_RX, GFP_KERNEL); 395 skb = __dev_alloc_skb(RTL8187_MAX_RX, GFP_KERNEL);
396 if (!skb) { 396 if (!skb) {
397 ret = -ENOMEM; 397 ret = -ENOMEM;