]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mac80211: always have ieee80211_sta_restart()
authorJohannes Berg <johannes.berg@intel.com>
Sat, 12 Mar 2022 21:19:58 +0000 (22:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Nov 2024 15:25:56 +0000 (16:25 +0100)
commit3d88f7c32432f39d675f01a1edd5a0a460c3fe22
tree4a12f05a3aedf899783af8b8908b4fccc77dfab8
parentb3959d5eca136e0588f9af3867b34032160cb826
mac80211: always have ieee80211_sta_restart()

commit 3fa5a0f5b0d69e31c6476cd81afeca3cc25a4927 upstream.

When CONFIG_PM isn't defined we don't have the function
ieee80211_sta_restart() compiled in, but we always need
it now for firmware restart. Move it out of the ifdef.

Fixes: 7d352ccf1e99 ("mac80211: Add support to trigger sta disconnect on hardware restart")
Link: https://lore.kernel.org/r/20220312221957.1fa96c72db51.I8ecaa5f9402fede0272161e0531ab930b97fba3e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/mlme.c