diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2010-05-28 08:48:52 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-03 14:10:45 -0400 |
commit | e0961f112cd88176acc6d1af6ca6352f85cdf993 (patch) | |
tree | 084acde7dd4f3ca8b3a27dd8de03191ef8a97450 /net/mac80211 | |
parent | 761ab470364b550c9b1a5e1e31be51d415aaf42b (diff) |
mac80211: remove useless work starting
Ever since we use only cfg80211 for configuration,
there is no configuration that could be pending at
this point, cfg80211 will have the configuration
that is pending and apply it afterwards.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/iface.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 50deb017fd6e..3d3a094d3987 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c | |||
@@ -321,15 +321,6 @@ static int ieee80211_open(struct net_device *dev) | |||
321 | 321 | ||
322 | ieee80211_recalc_ps(local, -1); | 322 | ieee80211_recalc_ps(local, -1); |
323 | 323 | ||
324 | /* | ||
325 | * ieee80211_sta_work is disabled while network interface | ||
326 | * is down. Therefore, some configuration changes may not | ||
327 | * yet be effective. Trigger execution of ieee80211_sta_work | ||
328 | * to fix this. | ||
329 | */ | ||
330 | if (sdata->vif.type == NL80211_IFTYPE_STATION) | ||
331 | ieee80211_queue_work(&local->hw, &sdata->u.mgd.work); | ||
332 | |||
333 | netif_tx_start_all_queues(dev); | 324 | netif_tx_start_all_queues(dev); |
334 | 325 | ||
335 | return 0; | 326 | return 0; |