Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341584
b: refs/heads/master
c: f0dea9c
h: refs/heads/master
v: v3
  • Loading branch information
Arend van Spriel authored and Johannes Berg committed Nov 19, 2012
1 parent ce9a6a9 commit e14d949
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: f4bda337bbb6e245e2a07f344990adeb6a70ff35
refs/heads/master: f0dea9c73a16caac6b46886eb08f51dd82894ca4
10 changes: 6 additions & 4 deletions trunk/net/mac80211/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1417,10 +1417,12 @@ int ieee80211_reconfig(struct ieee80211_local *local)
}

/* add channel contexts */
mutex_lock(&local->chanctx_mtx);
list_for_each_entry(ctx, &local->chanctx_list, list)
WARN_ON(drv_add_chanctx(local, ctx));
mutex_unlock(&local->chanctx_mtx);
if (local->use_chanctx) {
mutex_lock(&local->chanctx_mtx);
list_for_each_entry(ctx, &local->chanctx_list, list)
WARN_ON(drv_add_chanctx(local, ctx));
mutex_unlock(&local->chanctx_mtx);
}

list_for_each_entry(sdata, &local->interfaces, list) {
struct ieee80211_chanctx_conf *ctx_conf;
Expand Down

0 comments on commit e14d949

Please sign in to comment.