diff options
Diffstat (limited to 'drivers/net/wireless/b43/leds.c')
-rw-r--r-- | drivers/net/wireless/b43/leds.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/leds.c b/drivers/net/wireless/b43/leds.c index ddab856f1140..19e588582c7c 100644 --- a/drivers/net/wireless/b43/leds.c +++ b/drivers/net/wireless/b43/leds.c | |||
@@ -154,12 +154,16 @@ static void b43_map_led(struct b43_wldev *dev, | |||
154 | ieee80211_get_rx_led_name(hw), | 154 | ieee80211_get_rx_led_name(hw), |
155 | led_index, activelow); | 155 | led_index, activelow); |
156 | break; | 156 | break; |
157 | /*FIXME: We need another trigger for the "radio-on" LEDs below. | ||
158 | * Wiggle that somehow into the rfkill subsystem. */ | ||
159 | case B43_LED_RADIO_ALL: | 157 | case B43_LED_RADIO_ALL: |
160 | case B43_LED_RADIO_A: | 158 | case B43_LED_RADIO_A: |
161 | case B43_LED_RADIO_B: | 159 | case B43_LED_RADIO_B: |
162 | case B43_LED_MODE_BG: | 160 | case B43_LED_MODE_BG: |
161 | snprintf(name, sizeof(name), | ||
162 | "b43-%s:radio", wiphy_name(hw->wiphy)); | ||
163 | b43_register_led(dev, &dev->led_radio, name, | ||
164 | b43_rfkill_led_name(dev), | ||
165 | led_index, activelow); | ||
166 | break; | ||
163 | case B43_LED_WEIRD: | 167 | case B43_LED_WEIRD: |
164 | case B43_LED_ASSOC: | 168 | case B43_LED_ASSOC: |
165 | snprintf(name, sizeof(name), | 169 | snprintf(name, sizeof(name), |