diff options
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, | |||
343 | struct ieee80211_chanctx *ctx, | 343 | struct ieee80211_chanctx *ctx, |
344 | const struct cfg80211_chan_def *chandef) | 344 | const struct cfg80211_chan_def *chandef) |
345 | { | 345 | { |
346 | if (cfg80211_chandef_identical(&ctx->conf.def, chandef)) | 346 | if (cfg80211_chandef_identical(&ctx->conf.def, chandef)) { |
347 | ieee80211_recalc_chanctx_min_def(local, ctx); | ||
347 | return; | 348 | return; |
349 | } | ||
348 | 350 | ||
349 | WARN_ON(!cfg80211_chandef_compatible(&ctx->conf.def, chandef)); | 351 | WARN_ON(!cfg80211_chandef_compatible(&ctx->conf.def, chandef)); |
350 | 352 | ||