OSDN Git Service

wifi: mac80211: accept STA changes without link changes
authorJohannes Berg <johannes.berg@intel.com>
Sat, 23 Jul 2022 20:08:49 +0000 (22:08 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 25 Aug 2022 08:40:46 +0000 (10:40 +0200)
commitb303835dabe0340f932ebb4e260d2229f79b0684
treea83d2c0ae06569a5452fa97f236db2c52e12b37e
parent7dad3e39fde1eef97bc1a0b92e5d0f3500c9ed56
wifi: mac80211: accept STA changes without link changes

If there's no link ID, then check that there are no changes to
the link, and if so accept them, unless a new link is created.
While at it, reject creating a new link without an address.

This fixes authorizing an MLD (peer) that has no link 0.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c