mac80211: clean up scan namespace
[deliverable/linux.git] / net / mac80211 / util.c
index cf0b820a0eaa690d148522b1eb26164f681548a8..a7968df9dacbe0a664e541acecdc1627780d742a 100644 (file)
@@ -630,7 +630,7 @@ int ieee80211_set_freq(struct ieee80211_sub_if_data *sdata, int freqMHz)
                }
                local->oper_channel = chan;
 
-               if (local->sta_sw_scanning || local->sta_hw_scanning)
+               if (local->sw_scanning || local->hw_scanning)
                        ret = 0;
                else
                        ret = ieee80211_hw_config(local);
This page took 0.025531 seconds and 5 git commands to generate.