aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip/ksz_common.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2022-09-02 16:12:38 +0200
committerJohannes Berg <johannes.berg@intel.com>2022-09-03 17:02:34 +0200
commitacdc3e47881d86dc1cb89d4603e3fed90ab150db (patch)
tree7ac6837ed5a6013714346ffaedc8cd55b1b00753 /drivers/net/dsa/microchip/ksz_common.c
parentwifi: mac80211: move link code to a new file (diff)
downloadlinux-dev-acdc3e47881d86dc1cb89d4603e3fed90ab150db.tar.xz
linux-dev-acdc3e47881d86dc1cb89d4603e3fed90ab150db.zip
wifi: mac80211: mlme: assign link address correctly
Right now, we assign the link address only after we add the link to the driver, which is quite obviously wrong. It happens to work in many cases because it gets updated immediately, and then link_conf updates may update it, but it's clearly not really right. Set the link address during ieee80211_mgd_setup_link() so it's set before telling the driver about the link. Fixes: 81151ce462e5 ("wifi: mac80211: support MLO authentication/association with one link") Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions