]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: properly set old_links when removing a link
authorShaul Triebitz <shaul.triebitz@intel.com>
Sun, 24 Jul 2022 08:07:32 +0000 (11:07 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 25 Aug 2022 08:40:48 +0000 (10:40 +0200)
commit43971b22d48f2c67159e80104dd952c43c860b46
tree850ac0432523123255d02607788e5d0448e88d59
parent5b9ba44ea6fe20a7dd45047ba8c77a7164bd9d27
wifi: mac80211: properly set old_links when removing a link

In ieee80211_sta_remove_link, valid_links is set to
the new_links before calling drv_change_sta_links, but
is used for the old_links.

Fixes: 7f810b4c9479 ("wifi: mac80211: add sta link addition/removal")
Signed-off-by: Shaul Triebitz <shaul.triebitz@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c