summaryrefslogtreecommitdiff
path: root/net/mac80211/status.c
diff options
context:
space:
mode:
authorFabio Baltieri <fabio.baltieri@gmail.com>2013-07-25 14:00:26 +0400
committerJohannes Berg <johannes.berg@intel.com>2013-08-01 12:48:49 +0400
commite47f2509e5f182f4df144406de6f2bc78179d57e (patch)
treea5adb4abee88bce7156d40a627ed47b3b7e1c3a2 /net/mac80211/status.c
parentc82b5a74cc739385db6e4275fe504a0e9469bf01 (diff)
downloadlinux-e47f2509e5f182f4df144406de6f2bc78179d57e.tar.xz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/status.c b/net/mac80211/status.c
index 6ad4c14385ef..8eabfd96ca36 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