aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r--net/mac80211/main.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index f90254a5948e..6a7f4fae18c2 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -399,8 +399,15 @@ static int ieee80211_open(struct net_device *dev)
399 atomic_inc(&local->iff_promiscs); 399 atomic_inc(&local->iff_promiscs);
400 400
401 local->open_count++; 401 local->open_count++;
402 if (need_hw_reconfig) 402 if (need_hw_reconfig) {
403 ieee80211_hw_config(local); 403 ieee80211_hw_config(local);
404 /*
405 * set default queue parameters so drivers don't
406 * need to initialise the hardware if the hardware
407 * doesn't start up with sane defaults
408 */
409 ieee80211_set_wmm_default(sdata);
410 }
404 411
405 /* 412 /*
406 * ieee80211_sta_work is disabled while network interface 413 * ieee80211_sta_work is disabled while network interface