|
@@ -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);
|
|
|
}
|
|
|
}
|