Commit 2a57cf3e authored by Larry Finger's avatar Larry Finger Committed by John W. Linville

rtl8187: Increase receive queue depth

The receive queue depth in rtl8187 may not be long enough to keep
the pipe full.
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 66aafd9a
...@@ -391,7 +391,7 @@ static int rtl8187_init_urbs(struct ieee80211_hw *dev) ...@@ -391,7 +391,7 @@ static int rtl8187_init_urbs(struct ieee80211_hw *dev)
struct rtl8187_rx_info *info; struct rtl8187_rx_info *info;
int ret = 0; 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); skb = __dev_alloc_skb(RTL8187_MAX_RX, GFP_KERNEL);
if (!skb) { if (!skb) {
ret = -ENOMEM; ret = -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment