Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156895
b: refs/heads/master
c: 363ec56
h: refs/heads/master
i:
  156893: c8128dc
  156891: d258501
  156887: 2d48a79
  156879: 231a184
  156863: 75bed34
v: v3
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Aug 10, 2009
1 parent 596e8f2 commit 5a904e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 973507cb8610d4c84f090d5f1f0ca54fa0559d27
refs/heads/master: 363ec5614f86110c6a6bdd72ac2147ebafd3ff5e
6 changes: 5 additions & 1 deletion trunk/drivers/net/wireless/ath/ar9170/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,11 +598,15 @@ static int ar9170_usb_request_firmware(struct ar9170_usb *aru)

err = request_firmware(&aru->init_values, "ar9170-1.fw",
&aru->udev->dev);
if (err) {
dev_err(&aru->udev->dev, "file with init values not found.\n");
return err;
}

err = request_firmware(&aru->firmware, "ar9170-2.fw", &aru->udev->dev);
if (err) {
release_firmware(aru->init_values);
dev_err(&aru->udev->dev, "file with init values not found.\n");
dev_err(&aru->udev->dev, "firmware file not found.\n");
return err;
}

Expand Down

0 comments on commit 5a904e5

Please sign in to comment.