Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88035
b: refs/heads/master
c: 64f851e
h: refs/heads/master
i:
  88033: 9704369
  88031: 4b8b5cc
v: v3
  • Loading branch information
Jan Niehusmann authored and John W. Linville committed Apr 1, 2008
1 parent 6962aa9 commit a206463
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f83f1768f833cb45bc93429fdc552252a4f55ac3
refs/heads/master: 64f851e410ae37a0990212ae34f0c96b641478f7
12 changes: 12 additions & 0 deletions trunk/net/mac80211/ieee80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,18 @@ static int ieee80211_open(struct net_device *dev)
if (need_hw_reconfig)
ieee80211_hw_config(local);

/*
* ieee80211_sta_work is disabled while network interface
* is down. Therefore, some configuration changes may not
* yet be effective. Trigger execution of ieee80211_sta_work
* to fix this.
*/
if(sdata->vif.type == IEEE80211_IF_TYPE_STA ||
sdata->vif.type == IEEE80211_IF_TYPE_IBSS) {
struct ieee80211_if_sta *ifsta = &sdata->u.sta;
queue_work(local->hw.workqueue, &ifsta->work);
}

netif_start_queue(dev);

return 0;
Expand Down

0 comments on commit a206463

Please sign in to comment.