diff options
Diffstat (limited to 'drivers/net/wireless/b43legacy/leds.c')
-rw-r--r-- | drivers/net/wireless/b43legacy/leds.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43legacy/leds.c b/drivers/net/wireless/b43legacy/leds.c index 1e30919582c5..9ef284fda80e 100644 --- a/drivers/net/wireless/b43legacy/leds.c +++ b/drivers/net/wireless/b43legacy/leds.c | |||
@@ -156,12 +156,16 @@ static void b43legacy_map_led(struct b43legacy_wldev *dev, | |||
156 | ieee80211_get_rx_led_name(hw), | 156 | ieee80211_get_rx_led_name(hw), |
157 | led_index, activelow); | 157 | led_index, activelow); |
158 | break; | 158 | break; |
159 | /*FIXME: We need another trigger for the "radio-on" LEDs below. | ||
160 | * Wiggle that somehow into the rfkill subsystem. */ | ||
161 | case B43legacy_LED_RADIO_ALL: | 159 | case B43legacy_LED_RADIO_ALL: |
162 | case B43legacy_LED_RADIO_A: | 160 | case B43legacy_LED_RADIO_A: |
163 | case B43legacy_LED_RADIO_B: | 161 | case B43legacy_LED_RADIO_B: |
164 | case B43legacy_LED_MODE_BG: | 162 | case B43legacy_LED_MODE_BG: |
163 | snprintf(name, sizeof(name), | ||
164 | "b43legacy-%s:radio", wiphy_name(hw->wiphy)); | ||
165 | b43legacy_register_led(dev, &dev->led_radio, name, | ||
166 | b43legacy_rfkill_led_name(dev), | ||
167 | led_index, activelow); | ||
168 | break; | ||
165 | case B43legacy_LED_WEIRD: | 169 | case B43legacy_LED_WEIRD: |
166 | case B43legacy_LED_ASSOC: | 170 | case B43legacy_LED_ASSOC: |
167 | snprintf(name, sizeof(name), | 171 | snprintf(name, sizeof(name), |