Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194204
b: refs/heads/master
c: 6bbe89d
h: refs/heads/master
v: v3
  • Loading branch information
Juuso Oikarinen authored and John W. Linville committed Apr 6, 2010
1 parent 903dcbd commit 541ad02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 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: 1a186a515a1e4446cdde2b4341dc361ba6bc76ed
refs/heads/master: 6bbe89de24ffe0f849e67edba7def3f39f1f80d8
18 changes: 1 addition & 17 deletions trunk/drivers/net/wireless/wl12xx/wl1271_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,35 +416,19 @@ void wl1271_tx_flush(struct wl1271 *wl)
{
int i;
struct sk_buff *skb;
struct ieee80211_tx_info *info;

/* TX failure */
/* control->flags = 0; FIXME */

while ((skb = skb_dequeue(&wl->tx_queue))) {
info = IEEE80211_SKB_CB(skb);

wl1271_debug(DEBUG_TX, "flushing skb 0x%p", skb);

if (!(info->flags & IEEE80211_TX_CTL_REQ_TX_STATUS)) {
kfree_skb(skb);
continue;
}

ieee80211_tx_status(wl->hw, skb);
}

for (i = 0; i < ACX_TX_DESCRIPTORS; i++)
if (wl->tx_frames[i] != NULL) {
skb = wl->tx_frames[i];
info = IEEE80211_SKB_CB(skb);

if (!(info->flags & IEEE80211_TX_CTL_REQ_TX_STATUS)) {
kfree_skb(skb);
continue;
}

ieee80211_tx_status(wl->hw, skb);
wl->tx_frames[i] = NULL;
ieee80211_tx_status(wl->hw, skb);
}
}

0 comments on commit 541ad02

Please sign in to comment.