diff options
author | Dave Airlie <airlied@redhat.com> | 2016-04-22 00:32:51 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-04-22 00:32:51 +0200 |
commit | 49047962ecf02d76bdaa378c00a51c9b829ac195 (patch) | |
tree | 4e711bead6598486b033c4d2dbdb7f7c0dd6f23a /net/mac80211/chan.c | |
parent | Merge tag 'topic/drm-misc-2016-04-21' of git://anongit.freedesktop.org/drm-in... (diff) | |
parent | Linux 4.6-rc3 (diff) | |
download | linux-49047962ecf02d76bdaa378c00a51c9b829ac195.tar.xz linux-49047962ecf02d76bdaa378c00a51c9b829ac195.zip |
Merge tag 'v4.6-rc3' into drm-next
Backmerge 4.6-rc3 for i915.
Linux 4.6-rc3
Diffstat (limited to 'net/mac80211/chan.c')
-rw-r--r-- | net/mac80211/chan.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/mac80211/chan.c b/net/mac80211/chan.c index 283981108ca8..74142d07ad31 100644 --- a/net/mac80211/chan.c +++ b/net/mac80211/chan.c @@ -343,8 +343,10 @@ static void ieee80211_change_chanctx(struct ieee80211_local *local, struct ieee80211_chanctx *ctx, const struct cfg80211_chan_def *chandef) { - if (cfg80211_chandef_identical(&ctx->conf.def, chandef)) + if (cfg80211_chandef_identical(&ctx->conf.def, chandef)) { + ieee80211_recalc_chanctx_min_def(local, ctx); return; + } WARN_ON(!cfg80211_chandef_compatible(&ctx->conf.def, chandef)); |