diff options
Diffstat (limited to 'net/mac80211/ibss.c')
-rw-r--r-- | net/mac80211/ibss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c index ef6c6b2401d1..3a61f3ba85c9 100644 --- a/net/mac80211/ibss.c +++ b/net/mac80211/ibss.c | |||
@@ -744,7 +744,7 @@ static void ieee80211_ibss_work(struct work_struct *work) | |||
744 | if (WARN_ON(local->suspended)) | 744 | if (WARN_ON(local->suspended)) |
745 | return; | 745 | return; |
746 | 746 | ||
747 | if (!netif_running(sdata->dev)) | 747 | if (!ieee80211_sdata_running(sdata)) |
748 | return; | 748 | return; |
749 | 749 | ||
750 | if (local->scanning) | 750 | if (local->scanning) |
@@ -827,7 +827,7 @@ void ieee80211_ibss_notify_scan_completed(struct ieee80211_local *local) | |||
827 | 827 | ||
828 | mutex_lock(&local->iflist_mtx); | 828 | mutex_lock(&local->iflist_mtx); |
829 | list_for_each_entry(sdata, &local->interfaces, list) { | 829 | list_for_each_entry(sdata, &local->interfaces, list) { |
830 | if (!netif_running(sdata->dev)) | 830 | if (!ieee80211_sdata_running(sdata)) |
831 | continue; | 831 | continue; |
832 | if (sdata->vif.type != NL80211_IFTYPE_ADHOC) | 832 | if (sdata->vif.type != NL80211_IFTYPE_ADHOC) |
833 | continue; | 833 | continue; |