wifi: mac80211: mlme: fix link_sta setup
authorJohannes Berg <johannes.berg@intel.com>
Tue, 19 Jul 2022 10:06:17 +0000 (12:06 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jul 2022 12:28:17 +0000 (14:28 +0200)
commitb18d87f5d1025b55351378f953f644f07b1040b0
tree6ad31300ad6084d14d35f95491c7cbd74770f331
parent9dd1953846c7cd58100a5c6bd90db54e2c60668a
wifi: mac80211: mlme: fix link_sta setup

We need to copy the address to both the private and public
portion of the link_sta (the private one is needed for the
hash table). Fix this.

Fixes: bbe90107e1d9 ("wifi: mac80211: mlme: refactor link station setup")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c