diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-12-23 07:15:31 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-28 16:54:49 -0500 |
commit | 9607e6b66a0d25ca63b70d54a4283fa13d8f7c9d (patch) | |
tree | 706cb2c2db2df69fa446eb3848b27107b67f2d25 /net/mac80211/status.c | |
parent | d30506e0357e5448c7d38bb3739c451dbe4c174e (diff) |
mac80211: add ieee80211_sdata_running
Instead of always using netif_running(sdata->dev)
use ieee80211_sdata_running(sdata) now which is
just an inline containing netif_running() for now.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/status.c')
-rw-r--r-- | net/mac80211/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/status.c b/net/mac80211/status.c index 0c0850d37dda..0ebcdda24200 100644 --- a/net/mac80211/status.c +++ b/net/mac80211/status.c | |||
@@ -351,7 +351,7 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb) | |||
351 | rcu_read_lock(); | 351 | rcu_read_lock(); |
352 | list_for_each_entry_rcu(sdata, &local->interfaces, list) { | 352 | list_for_each_entry_rcu(sdata, &local->interfaces, list) { |
353 | if (sdata->vif.type == NL80211_IFTYPE_MONITOR) { | 353 | if (sdata->vif.type == NL80211_IFTYPE_MONITOR) { |
354 | if (!netif_running(sdata->dev)) | 354 | if (!ieee80211_sdata_running(sdata)) |
355 | continue; | 355 | continue; |
356 | 356 | ||
357 | if ((sdata->u.mntr_flags & MONITOR_FLAG_COOK_FRAMES) && | 357 | if ((sdata->u.mntr_flags & MONITOR_FLAG_COOK_FRAMES) && |