diff options
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 88b671a16a41..a2d10d44641e 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -259,7 +259,6 @@ static void ieee80211_tasklet_handler(unsigned long data) | |||
259 | { | 259 | { |
260 | struct ieee80211_local *local = (struct ieee80211_local *) data; | 260 | struct ieee80211_local *local = (struct ieee80211_local *) data; |
261 | struct sk_buff *skb; | 261 | struct sk_buff *skb; |
262 | struct ieee80211_ra_tid *ra_tid; | ||
263 | 262 | ||
264 | while ((skb = skb_dequeue(&local->skb_queue)) || | 263 | while ((skb = skb_dequeue(&local->skb_queue)) || |
265 | (skb = skb_dequeue(&local->skb_queue_unreliable))) { | 264 | (skb = skb_dequeue(&local->skb_queue_unreliable))) { |
@@ -274,18 +273,6 @@ static void ieee80211_tasklet_handler(unsigned long data) | |||
274 | skb->pkt_type = 0; | 273 | skb->pkt_type = 0; |
275 | ieee80211_tx_status(local_to_hw(local), skb); | 274 | ieee80211_tx_status(local_to_hw(local), skb); |
276 | break; | 275 | break; |
277 | case IEEE80211_DELBA_MSG: | ||
278 | ra_tid = (struct ieee80211_ra_tid *) &skb->cb; | ||
279 | ieee80211_stop_tx_ba_cb(ra_tid->vif, ra_tid->ra, | ||
280 | ra_tid->tid); | ||
281 | dev_kfree_skb(skb); | ||
282 | break; | ||
283 | case IEEE80211_ADDBA_MSG: | ||
284 | ra_tid = (struct ieee80211_ra_tid *) &skb->cb; | ||
285 | ieee80211_start_tx_ba_cb(ra_tid->vif, ra_tid->ra, | ||
286 | ra_tid->tid); | ||
287 | dev_kfree_skb(skb); | ||
288 | break ; | ||
289 | default: | 276 | default: |
290 | WARN(1, "mac80211: Packet is of unknown type %d\n", | 277 | WARN(1, "mac80211: Packet is of unknown type %d\n", |
291 | skb->pkt_type); | 278 | skb->pkt_type); |