Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277601
b: refs/heads/master
c: 5903459
h: refs/heads/master
i:
  277599: df088e8
v: v3
  • Loading branch information
Eliad Peller authored and John W. Linville committed Nov 8, 2011
1 parent ebc5ff5 commit 3044c51
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3a8aea098c8ebe3437d877542d138085be33346c
refs/heads/master: 59034591029e9f3b691fe02ff60938556dba5683
16 changes: 8 additions & 8 deletions trunk/net/mac80211/iface.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,13 @@ static int ieee80211_do_open(struct net_device *dev, bool coming_up)
netif_carrier_off(dev);
else
netif_carrier_on(dev);

/*
* set default queue parameters so drivers don't
* need to initialise the hardware if the hardware
* doesn't start up with sane defaults
*/
ieee80211_set_wmm_default(sdata);
}

set_bit(SDATA_STATE_RUNNING, &sdata->state);
Expand Down Expand Up @@ -329,15 +336,8 @@ static int ieee80211_do_open(struct net_device *dev, bool coming_up)
if (coming_up)
local->open_count++;

if (hw_reconf_flags) {
if (hw_reconf_flags)
ieee80211_hw_config(local, hw_reconf_flags);
/*
* set default queue parameters so drivers don't
* need to initialise the hardware if the hardware
* doesn't start up with sane defaults
*/
ieee80211_set_wmm_default(sdata);
}

ieee80211_recalc_ps(local, -1);

Expand Down

0 comments on commit 3044c51

Please sign in to comment.