]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
wifi: mac80211: fix idle calculation with multi-link
authorJohannes Berg <johannes.berg@intel.com>
Thu, 18 Apr 2024 08:52:19 +0000 (10:52 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 19 Apr 2024 08:02:07 +0000 (10:02 +0200)
commit89884459a0b9e6ecd62a1ddfdb7708b34ee33649
tree4f77d29237b67ea0e3327b65b0a6b92c2955f7b8
parent6a94cf996f104633bfb8d260eedf96a0dbebb384
wifi: mac80211: fix idle calculation with multi-link

The vif's idle state doesn't automatically go to true when
any link removes the channel context, it's only idle when
_all_ links no longer have a channel context. Fix that.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240418105220.90df97557702.I05d2228ce85c203b9f2d6da8538cc16dce46752a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c