We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe785f5 commit 1b54403Copy full SHA for 1b54403
drivers/net/wireless/intel/iwlwifi/pcie/drv.c
@@ -1446,8 +1446,10 @@ static int iwl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
1446
*/
1447
if (iwl_trans->trans_cfg->rf_id &&
1448
iwl_trans->trans_cfg->device_family >= IWL_DEVICE_FAMILY_9000 &&
1449
- !CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id) && get_crf_id(iwl_trans))
+ !CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id) && get_crf_id(iwl_trans)) {
1450
+ ret = -EINVAL;
1451
goto out_free_trans;
1452
+ }
1453
1454
dev_info = iwl_pci_find_dev_info(pdev->device, pdev->subsystem_device,
1455
CSR_HW_REV_TYPE(iwl_trans->hw_rev),
0 commit comments