wifi: iwlwifi: mvm: use the link sta address
authorShaul Triebitz <shaul.triebitz@intel.com>
Wed, 29 Mar 2023 07:05:17 +0000 (10:05 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 30 Mar 2023 10:08:39 +0000 (12:08 +0200)
commit29df2a64811914f8399fc2d1fb5b13df03336f50
tree755ad78a4cf22b1c67f6e0c8e2dab534faf3c83a
parentf53be9c4bef6858df46d7bd9246a72789e63d5fc
wifi: iwlwifi: mvm: use the link sta address

Replace the deflink.addr with the proper link address
for setting the peer_link_address in the station command.
For a non-MLD station, it will be the deflink.

Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230329100039.03ab287da0ae.I88fb5ab4e3ea9c886a3fac7ce09c4791469c3c8e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/mld-sta.c