1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intel/iwlwifi/mei
Emmanuel Grumbach 30de48b436 iwlwifi: mei: report RFKILL upon register when needed
When we register and we are in link protection passive, meaning
that the host can't touch the device, report RFKILL immediately
upon register() and don't wait for the CSME firmware to let us
know again about the link protection state.

What happens if we wait is that the host will not see RFKILL soon
enough and we'll have a window of time during which it can bring
up the device which will request ownership.

Fixes: 2da4366f9e ("iwlwifi: mei: add the driver to allow cooperation with CSME")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/iwlwifi.20220128142706.a136f9f46336.Ief7506dc3b1813a1943a5a639aa45d8e5f284f31@changeid
2022-02-03 10:24:51 +02:00
..
internal.h iwlwifi: mei: add the driver to allow cooperation with CSME 2021-11-26 18:31:47 +02:00
iwl-mei.h iwlwifi: mei: add the driver to allow cooperation with CSME 2021-11-26 18:31:47 +02:00
main.c iwlwifi: mei: report RFKILL upon register when needed 2022-02-03 10:24:51 +02:00
Makefile iwlwifi: mei: add the driver to allow cooperation with CSME 2021-11-26 18:31:47 +02:00
net.c iwlwifi: mei: fix the pskb_may_pull check in ipv4 2022-02-03 10:24:49 +02:00
sap.h iwlwifi: mei: add the driver to allow cooperation with CSME 2021-11-26 18:31:47 +02:00
trace-data.h iwlwifi: mei: fix linking when tracing is not enabled 2021-12-05 13:55:15 +02:00
trace.c iwlwifi: mei: add the driver to allow cooperation with CSME 2021-11-26 18:31:47 +02:00
trace.h iwlwifi: mei: fix linking when tracing is not enabled 2021-12-05 13:55:15 +02:00