wifi: iwlwifi: mvm: update mac config when assigning chanctx
authorGregory Greenman <gregory.greenman@intel.com>
Wed, 29 Mar 2023 07:05:33 +0000 (10:05 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 30 Mar 2023 10:08:42 +0000 (12:08 +0200)
commitef36f1df198b57e2c9c1fe249f537cd64a762f9f
tree30fcec74fbec825096a29a264df4bd7793610e85
parentf699f039cdb6e028d1f40cb54e73f85cd5d459bd
wifi: iwlwifi: mvm: update mac config when assigning chanctx

Some mac parameters, such as HE support, can change at this stage.
Update mac config before updating links.

Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230329100040.d7882a0d6e04.Ie38cd854a237c46cf85fd7143dc757326f30da6e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mld-mac80211.c