wifi: ath9k: owl: remove misleading error message
PATCH 1/1 wifi: ath9k: owl: remove misleading error message
The error is about the firmware failing to be requested, not calibration data. Just return directly anyways.
Signed-off-by Rosen Penev <[email protected]>
--- drivers/net/wireless/ath/ath9k/ath9k_pci_owl_loader.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/net/wireless/ath/ath9k/ath9k_pci_owl_loader.c +1 -5
@@ -204,12 +204,8 @@ static int owl_probe(struct pci_dev *pdev,scnprintf (eeprom_name,sizeof (eeprom_name),"ath9k-eeprom-pci-%s.bin" ,dev_name (dev)); - err =request_firmware_nowait (THIS_MODULE , true, eeprom_name, +return request_firmware_nowait (THIS_MODULE , true, eeprom_name, &pdev->dev,GFP_KERNEL , ctx, owl_fw_cb); -if (err) -dev_err (&pdev->dev,"failed to request caldata (%d).\n" , err); - -return err; }static void owl_remove (struct pci_dev *pdev)
--
2.54.0