]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b9ba44ea6fe20a7dd45047ba8c77a7164bd9d27
treea83d2c0ae06569a5452fa97f236db2c52e12b37e
parent56088e5f37425a01c1ea4505a37c6c58e29ab897
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