aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/util.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-08-27 06:35:55 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-08-27 13:53:30 -0400
commit26a58456be40d8181b884eb5b4e61e3f73ba94e0 (patch)
treed3284dcba4f286d1f666b1efca136c018791e692 /net/mac80211/util.c
parentb9dcf712d1fb98bf279fcd453a42a763b104961d (diff)
mac80211: switch to ieee80211_sdata_running
Since the introduction of ieee80211_sdata_running(), some new code was introduced that uses netif_running() instead. Switch all these instances over. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/util.c')
-rw-r--r--net/mac80211/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/util.c b/net/mac80211/util.c
index ef686d3b04e3..d38b3767e8cc 100644
--- a/net/mac80211/util.c
+++ b/net/mac80211/util.c
@@ -1308,7 +1308,7 @@ void ieee80211_recalc_smps(struct ieee80211_local *local,
1308 */ 1308 */
1309 1309
1310 list_for_each_entry(sdata, &local->interfaces, list) { 1310 list_for_each_entry(sdata, &local->interfaces, list) {
1311 if (!netif_running(sdata->dev)) 1311 if (!ieee80211_sdata_running(sdata))
1312 continue; 1312 continue;
1313 if (sdata->vif.type != NL80211_IFTYPE_STATION) 1313 if (sdata->vif.type != NL80211_IFTYPE_STATION)
1314 goto set; 1314 goto set;