wifi: mac80211: don't ask driver about no-op link changes
authorJohannes Berg <johannes.berg@intel.com>
Wed, 20 Mar 2024 07:14:03 +0000 (09:14 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2024 14:39:28 +0000 (15:39 +0100)
commit2f51c87a156c2ee30bf6a66694c64856177c5303
treee1e012b3cdc3c6ec2b0b1b87facd78bb54d43eaa
parent80b0aacd1ad046b46d471cf8ed6203bbd777f988
wifi: mac80211: don't ask driver about no-op link changes

If the links won't actually change, nothing will happen.
This was previously done in the inner function (twice in
some cases), but we shouldn't bother the driver with it.
Clean that up.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240320091155.a8190a312a27.If4e6f5ce8228eda7afac0fc8c17dd731c5da9ed9@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/link.c