]> git.baikalelectronics.ru Git - kernel.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)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 15 Mar 2022 10:30:21 +0000 (11:30 +0100)
commitaf5f3b3592ad3173c78abfedbbb10181b97341cf
treebaa5bd9923a75156cc71d5d81659dbf0eac49d58
parentb29d3802e30ec4979434c26152fe899ec503c048
mac80211: always have ieee80211_sta_restart()

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: b58e48210751 ("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>
net/mac80211/mlme.c