]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/mac80211/iface.c
Merge branch 'linus' into perfcounters/urgent
[karo-tx-linux.git] / net / mac80211 / iface.c
index 8c9f1c722cdb2921a99c27f786f945e36aea750e..b7c8a4484298bc0c19f546440e33ae88ce1b8210 100644 (file)
@@ -170,7 +170,7 @@ static int ieee80211_open(struct net_device *dev)
                        goto err_del_bss;
                /* we're brought up, everything changes */
                hw_reconf_flags = ~0;
-               ieee80211_led_radio(local, local->hw.conf.radio_enabled);
+               ieee80211_led_radio(local, true);
        }
 
        /*
@@ -560,7 +560,7 @@ static int ieee80211_stop(struct net_device *dev)
 
                drv_stop(local);
 
-               ieee80211_led_radio(local, 0);
+               ieee80211_led_radio(local, false);
 
                flush_workqueue(local->hw.workqueue);