]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: iwlwifi: pcie: simplify the resume flow if fast resume is not used
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 31 May 2026 10:30:19 +0000 (13:30 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Sun, 31 May 2026 14:07:11 +0000 (17:07 +0300)
commit093305d801fae6ff9b8bb531fd78b579794c4f80
treea3eedadc75c2fc528fda689d337f5931123e82f7
parente0c121d545134af886b28c4c26d91abf5dd39c17
wifi: iwlwifi: pcie: simplify the resume flow if fast resume is not used

In most distributions, NetworkManager shuts the device down before
entering system suspend, so fast suspend is typically not used.

On older devices, resume currently tries to grab NIC access to infer
whether the device was powered off while suspended. That probe is only
meaningful for the fast-suspend path where the device is expected to
remain alive.

Unfortunately, for unclear reasons, grabbing NIC access was harmful as
reported in the bugzilla ticket below.

Workaround this issue by simply not grabbing NIC access if fast suspend
is not used.

Cc: stable@vger.kernel.org
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=221501
Assisted-by: GitHub Copilot:gpt-5.3-codex
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20260531133005.e2ed9e0cd44f.If283625983a843933e0c01561a421daff184e9e9@changeid
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/drv.c