]> www.infradead.org Git - users/dwmw2/linux.git/commit
wifi: mac80211: wake the queues in case of failure in resume
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 19 Nov 2024 15:35:39 +0000 (17:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 3 Dec 2024 10:28:33 +0000 (11:28 +0100)
commit220bf000530f9b1114fa2a1022a871c7ce8a0b38
tree884ce9019958d796cc6dca3e88a3a56cb5d75ddc
parentb5c32ff6a3a38c74facdd1fe34c0d709a55527fd
wifi: mac80211: wake the queues in case of failure in resume

In case we fail to resume, we'll WARN with
"Hardware became unavailable during restart." and we'll wait until user
space does something. It'll typically bring the interface down and up to
recover. This won't work though because the queues are still stopped on
IEEE80211_QUEUE_STOP_REASON_SUSPEND reason.
Make sure we clear that reason so that we give a chance to the recovery
to succeed.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219447
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20241119173108.cd628f560f97.I76a15fdb92de450e5329940125f3c58916be3942@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c