wifi: iwlwifi: pcie: don't allow hw-rfkill to stop device on gen2
authorJohannes Berg <johannes.berg@intel.com>
Sun, 4 Feb 2024 22:06:05 +0000 (00:06 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Feb 2024 14:00:45 +0000 (15:00 +0100)
commita20ac99b5f5ee768866b42d28138d90d89158042
tree3230468c063c953ffc6bf27f7e564dd9f33332d2
parent80b0c88033ff8a9a0d6817ccdeebd512bef06cc0
wifi: iwlwifi: pcie: don't allow hw-rfkill to stop device on gen2

On new devices the HW rfkill shutdown doesn't need to be handled
"as fast as possible", so disallow the immediate shutdown mode
here via documentation and a warning.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240204235836.794c5387e67e.I064365428815ec3135afa345fbbde78449b60203@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-op-mode.h
drivers/net/wireless/intel/iwlwifi/pcie/trans.c