diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-11-28 18:28:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-11-28 18:28:12 +0000 |
commit | 1cd870049e817f45706b8ac031c23bc1b83e3c0c (patch) | |
tree | 2dfd2359df8f600e954da2e74b6d0022a37e5e89 /package/mac80211/patches/564-tpt_trigger_idle_fix.patch | |
parent | a133b09b0706df0a93eb268c17a92a7a543f968a (diff) | |
download | mtk-20170518-1cd870049e817f45706b8ac031c23bc1b83e3c0c.zip mtk-20170518-1cd870049e817f45706b8ac031c23bc1b83e3c0c.tar.gz mtk-20170518-1cd870049e817f45706b8ac031c23bc1b83e3c0c.tar.bz2 |
mac80211: merge the new version of the throughput led trigger patch
SVN-Revision: 24182
Diffstat (limited to 'package/mac80211/patches/564-tpt_trigger_idle_fix.patch')
-rw-r--r-- | package/mac80211/patches/564-tpt_trigger_idle_fix.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/package/mac80211/patches/564-tpt_trigger_idle_fix.patch b/package/mac80211/patches/564-tpt_trigger_idle_fix.patch deleted file mode 100644 index 3578bcf..0000000 --- a/package/mac80211/patches/564-tpt_trigger_idle_fix.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- a/net/mac80211/led.c -+++ b/net/mac80211/led.c -@@ -194,7 +194,7 @@ static void tpt_trig_timer(unsigned long - off = 0; - - for (i = tpt_trig->blink_table_len - 1; i >= 0; i--) { -- if (tpt >= tpt_trig->blink_table[i].throughput) { -+ if (tpt > tpt_trig->blink_table[i].throughput) { - off = tpt_trig->blink_table[i].blink_time / 2; - on = tpt_trig->blink_table[i].blink_time - off; - break; ---- a/net/mac80211/rx.c -+++ b/net/mac80211/rx.c -@@ -1877,6 +1877,7 @@ ieee80211_rx_h_data(struct ieee80211_rx_ - msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout)); - } - -+ ieee80211_tpt_led_trig_rx(local, rx->skb->len); - ieee80211_deliver_skb(rx); - - return RX_QUEUED; -@@ -2873,7 +2874,6 @@ void ieee80211_rx(struct ieee80211_hw *h - return; - } - -- ieee80211_tpt_led_trig_rx(local, skb->len); - __ieee80211_rx_handle_packet(hw, skb); - - rcu_read_unlock(); |