rtl8187: Increase receive queue depth
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 23 Jan 2009 17:30:54 +0000 (11:30 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:01:29 +0000 (16:01 -0500)
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>
drivers/net/wireless/rtl818x/rtl8187_dev.c

index 313ede7d7b49da227c666eeba63a0ca29fff6c9d..db7318d1d401147192f0f638f646fb3e3056e1f5 100644 (file)
@@ -391,7 +391,7 @@ static int rtl8187_init_urbs(struct ieee80211_hw *dev)
        struct rtl8187_rx_info *info;
        int ret = 0;
 
-       while (skb_queue_len(&priv->rx_queue) < 8) {
+       while (skb_queue_len(&priv->rx_queue) < 16) {
                skb = __dev_alloc_skb(RTL8187_MAX_RX, GFP_KERNEL);
                if (!skb) {
                        ret = -ENOMEM;