diff options
author | Fabio Baltieri <fabio.baltieri@gmail.com> | 2013-07-25 12:00:26 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-08-01 10:48:49 +0200 |
commit | e47f2509e5f182f4df144406de6f2bc78179d57e (patch) | |
tree | a5adb4abee88bce7156d40a627ed47b3b7e1c3a2 /net/mac80211/status.c | |
parent | c82b5a74cc739385db6e4275fe504a0e9469bf01 (diff) |
mac80211: use oneshot blink API for LED triggers
Change mac80211 LED trigger code to use the generic
led_trigger_blink_oneshot() API for transmit and receive activity
indication.
This gives a better feedback to the user, as with the new API each
activity event results in a visible blink, while a constant traffic
results in a continuous blink at constant rate.
Signed-off-by: Fabio Baltieri <fabio.baltieri@gmail.com>
[fix LED disabled build error]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/status.c')
-rw-r--r-- | net/mac80211/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/status.c b/net/mac80211/status.c index 6ad4c14385e..8eabfd96ca3 100644 --- a/net/mac80211/status.c +++ b/net/mac80211/status.c @@ -564,7 +564,7 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb) rcu_read_unlock(); - ieee80211_led_tx(local, 0); + ieee80211_led_tx(local); /* SNMP counters * Fragments are passed to low-level drivers as separate skbs, so these |