1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intel/iwlwifi/pcie
Avraham Stern 057381ddac wifi: iwlwifi: pcie: avoid a warning in case prepare card failed
In case CSME holds the NIC and SAP connection is already established,
iwl_pcie_prepare_card_hw() during iwl_pci_probe() will fail
(which is fine since CSME will release the nic later when asked with
a SAP message). In this case tring to grab nic access to read the
crf ids will fail with a warning.
Avoid the warning by only trying to read the crf ids in case prepare
card succeeded.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230822103048.9b026fa7b97e.I12bea7e6eef54eeeaf916b68d71583e92ff310fd@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2023-08-22 13:19:52 +02:00
..
ctxt-info-gen3.c wifi: iwlwifi: Enable loading of reduce-power tables into several segments 2023-06-06 13:44:52 +02:00
ctxt-info.c wifi: iwlwifi: Generalize the parsing of the pnvm image 2023-06-06 13:43:06 +02:00
drv.c wifi: iwlwifi: pcie: avoid a warning in case prepare card failed 2023-08-22 13:19:52 +02:00
internal.h wifi: iwlwifi: remove 'def_rx_queue' struct member 2023-08-22 13:19:24 +02:00
rx.c wifi: iwlwifi: remove 'def_rx_queue' struct member 2023-08-22 13:19:24 +02:00
trans-gen2.c wifi: iwlwifi: pcie: double-check ACK interrupt after timeout 2023-06-19 12:05:25 +02:00
trans.c wifi: iwlwifi: pcie: point invalid TFDs to invalid data 2023-08-22 13:19:24 +02:00
tx-gen2.c iwlwifi: de-const properly where needed 2022-02-18 10:40:50 +02:00
tx.c wifi: iwlwifi: pcie: move gen1 TB handling to header 2023-08-22 13:19:24 +02:00