Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236520
b: refs/heads/master
c: db38680
h: refs/heads/master
v: v3
  • Loading branch information
Mike McCormack authored and Greg Kroah-Hartman committed Mar 14, 2011
1 parent 66c196c commit 5547d7a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a78275349ceca6dea754ddaa0ef85ab636af57c1
refs/heads/master: db386800613060757d511fa60e11fc5f3c7fd5d5
12 changes: 6 additions & 6 deletions trunk/drivers/staging/rtl8192e/r8192E_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4310,15 +4310,15 @@ static void rtl8192_tx_resume(struct r8192_priv *priv)
struct ieee80211_device *ieee = priv->ieee80211;
struct net_device *dev = priv->ieee80211->dev;
struct sk_buff *skb;
int queue_index;
int i;

for(queue_index = BK_QUEUE; queue_index < TXCMD_QUEUE;queue_index++) {
while((!skb_queue_empty(&ieee->skb_waitQ[queue_index]))&&
(priv->ieee80211->check_nic_enough_desc(dev,queue_index) > 0)) {
for (i = BK_QUEUE; i < TXCMD_QUEUE; i++) {
while ((!skb_queue_empty(&ieee->skb_waitQ[i])) &&
(priv->ieee80211->check_nic_enough_desc(dev, i) > 0)) {
/* 1. dequeue the packet from the wait queue */
skb = skb_dequeue(&ieee->skb_waitQ[queue_index]);
skb = skb_dequeue(&ieee->skb_waitQ[i]);
/* 2. tx the packet directly */
ieee->softmac_data_hard_start_xmit(skb,dev,0/* rate useless now*/);
ieee->softmac_data_hard_start_xmit(skb, dev, 0);
}
}
}
Expand Down

0 comments on commit 5547d7a

Please sign in to comment.