1 --- a/net/mac80211/led.c
2 +++ b/net/mac80211/led.c
3 @@ -194,7 +194,7 @@ static void tpt_trig_timer(unsigned long
6 for (i = tpt_trig->blink_table_len - 1; i >= 0; i--) {
7 - if (tpt >= tpt_trig->blink_table[i].throughput) {
8 + if (tpt > tpt_trig->blink_table[i].throughput) {
9 off = tpt_trig->blink_table[i].blink_time / 2;
10 on = tpt_trig->blink_table[i].blink_time - off;
12 --- a/net/mac80211/rx.c
13 +++ b/net/mac80211/rx.c
14 @@ -1877,6 +1877,7 @@ ieee80211_rx_h_data(struct ieee80211_rx_
15 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout));
18 + ieee80211_tpt_led_trig_rx(local, rx->skb->len);
19 ieee80211_deliver_skb(rx);
22 @@ -2873,7 +2874,6 @@ void ieee80211_rx(struct ieee80211_hw *h
26 - ieee80211_tpt_led_trig_rx(local, skb->len);
27 __ieee80211_rx_handle_packet(hw, skb);