aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_rate.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-09-28 08:02:09 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:54:15 -0400
commitf9d540ee5f7e480339911df8d7389ef4c435ab54 (patch)
tree89381e4aa0f8ea31662dc21e890c339d715f8271 /net/mac80211/ieee80211_rate.c
parenta28975525016ddcbdaab8225666df1cf2dc9cb2d (diff)
[MAC80211]: remove management interface
Removes the management interface since it is only required for hostapd/userspace MLME, will not be in the final tree at least in this form and hostapd/userspace MLME currently do not work against this tree anyway. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/ieee80211_rate.c')
-rw-r--r--net/mac80211/ieee80211_rate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_rate.c b/net/mac80211/ieee80211_rate.c
index 91a9fe2cbad9..93abb8fff141 100644
--- a/net/mac80211/ieee80211_rate.c
+++ b/net/mac80211/ieee80211_rate.c
@@ -145,8 +145,7 @@ int ieee80211_init_rate_ctrl_alg(struct ieee80211_local *local,
145 struct rate_control_ref *ref, *old; 145 struct rate_control_ref *ref, *old;
146 146
147 ASSERT_RTNL(); 147 ASSERT_RTNL();
148 if (local->open_count || netif_running(local->mdev) || 148 if (local->open_count || netif_running(local->mdev))
149 (local->apdev && netif_running(local->apdev)))
150 return -EBUSY; 149 return -EBUSY;
151 150
152 ref = rate_control_alloc(name, local); 151 ref = rate_control_alloc(name, local);