[MAC80211]: Add association LED trigger

Many devices have LEDs to indicate the link status.
Export this functionality to drivers.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Michael Buesch
2007-09-27 15:10:44 +02:00
committed by David S. Miller
parent ddd3d2be85
commit 47f0c50220
5 changed files with 74 additions and 19 deletions

View File

@ -503,8 +503,8 @@ struct ieee80211_local {
#ifdef CONFIG_MAC80211_LEDS
int tx_led_counter, rx_led_counter;
struct led_trigger *tx_led, *rx_led;
char tx_led_name[32], rx_led_name[32];
struct led_trigger *tx_led, *rx_led, *assoc_led;
char tx_led_name[32], rx_led_name[32], assoc_led_name[32];
#endif
u32 channel_use;