From: Larry Finger Date: Fri, 23 Jan 2009 17:30:54 +0000 (-0600) Subject: rtl8187: Increase receive queue depth X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2a57cf3e83f89150f2ac9b6f01caf3fcdbb36486;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: John W. Linville --- 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) 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;