aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/ieee80211_ioctl.c')
-rw-r--r--net/mac80211/ieee80211_ioctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_ioctl.c
index 04ddce76135..2604e21c05a 100644
--- a/net/mac80211/ieee80211_ioctl.c
+++ b/net/mac80211/ieee80211_ioctl.c
@@ -21,6 +21,7 @@
21 21
22#include <net/mac80211.h> 22#include <net/mac80211.h>
23#include "ieee80211_i.h" 23#include "ieee80211_i.h"
24#include "ieee80211_led.h"
24#include "ieee80211_rate.h" 25#include "ieee80211_rate.h"
25#include "wpa.h" 26#include "wpa.h"
26#include "aes_ccm.h" 27#include "aes_ccm.h"
@@ -652,6 +653,7 @@ static int ieee80211_ioctl_siwtxpower(struct net_device *dev,
652 if (local->hw.conf.radio_enabled != !(data->txpower.disabled)) { 653 if (local->hw.conf.radio_enabled != !(data->txpower.disabled)) {
653 local->hw.conf.radio_enabled = !(data->txpower.disabled); 654 local->hw.conf.radio_enabled = !(data->txpower.disabled);
654 need_reconfig = 1; 655 need_reconfig = 1;
656 ieee80211_led_radio(local, local->hw.conf.radio_enabled);
655 } 657 }
656 658
657 if (need_reconfig) { 659 if (need_reconfig) {