wifi: mac80211: validate link address doesn't change
authorJohannes Berg <johannes.berg@intel.com>
Mon, 18 Jul 2022 20:23:53 +0000 (22:23 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jul 2022 12:28:08 +0000 (14:28 +0200)
commit9aebce6c97bfd7dafd364be2e5b3af7a78af2662
tree9fb608d5d03f9f6dfd02bc085bda95f485a1cd41
parent6d8e0f84f89f99c87608569e374d52cf248978ee
wifi: mac80211: validate link address doesn't change

When modifying a link station, validate that the link address
doesn't change, except the first time the link is created.

Fixes: b95eb7f0eee4 ("wifi: cfg80211/mac80211: separate link params from station params")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c