Re: [PATCH v3 5/7] mac80211: Adjust reserved chan_ctx when assigned to vif
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2015-05-07 12:25:47
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2015-05-07 12:25:47
On Wed, 2015-05-06 at 18:30 +0300, andrei.otc@gmail.com wrote:
From: Andrei Otcheretianski <redacted> When a vif starts using a reserved channel context (during CSA, for example) the required chandef was recalculated, however it was never applied. This could result in using chanctx with narrower width than actually required. Fix this by calling ieee80211_change_chanctx with the recalculated chandef. This both changes the chanctx's width and recalcs min_def.
Applied. johannes