]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/mac80211/status.c
mac80211: add the action to the drv_ampdu_action tracepoint
[karo-tx-linux.git] / net / mac80211 / status.c
index be47ac5cd8c8dd44a23247979f0d1742cf089026..a9fa6ee57e8f81728d3034288a0eec27573789b3 100644 (file)
@@ -546,6 +546,8 @@ static void ieee80211_report_used_skb(struct ieee80211_local *local,
                skb->wifi_acked_valid = 1;
                skb->wifi_acked = acked;
        }
+
+       ieee80211_led_tx(local);
 }
 
 /*
@@ -823,8 +825,6 @@ static void __ieee80211_tx_status(struct ieee80211_hw *hw,
                }
        }
 
-       ieee80211_led_tx(local);
-
        /* SNMP counters
         * Fragments are passed to low-level drivers as separate skbs, so these
         * are actually fragments, not frames. Update frame counters only for