wifi: iwlwifi: mld: update the P2P device mac before starting the GO
authorAvraham Stern <avraham.stern@intel.com>
Thu, 10 Jul 2025 18:28:19 +0000 (21:28 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Fri, 11 Jul 2025 15:28:30 +0000 (18:28 +0300)
commit0d17b0c1ab8f18648f66ad17c1b1cc6ceb740a02
tree020ffea858228c558c816d7665d2736e42061d72
parentd1f5f881ac2c5dc185a88c7bfe47d2b3ecbbc501
wifi: iwlwifi: mld: update the P2P device mac before starting the GO

When a GO is started, the P2P device mac is updated to indicate
that frames for the P2P device mac should be filtered in while
the GO is active. However, this configuration is done after the GO is
already started so it doesn't take effect. Fix it by updating the
P2P device mac before adding the broadcast station, which actually
starts the GO.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250710212632.463a0ad545f9.I85a25484d787b65f6a27e794285911e319df0b2d@changeid
drivers/net/wireless/intel/iwlwifi/mld/ap.c