projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
341f2c1
)
wl12xx: Print nvs/fw file name if loading fails.
author
Pontus Fuchs
<
[email protected]
>
Wed, 30 Nov 2011 14:35:09 +0000
(15:35 +0100)
committer
Luciano Coelho
<
[email protected]
>
Thu, 1 Dec 2011 13:55:57 +0000
(15:55 +0200)
Print the name of nvs/fw if request_firmware fails. This will make
troubleshooting a bit easier.
Signed-off-by: Pontus Fuchs <
[email protected]
>
Signed-off-by: Luciano Coelho <
[email protected]
>
drivers/net/wireless/wl12xx/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/wl12xx/main.c
b/drivers/net/wireless/wl12xx/main.c
index 8c58001c76d49afa1c87aa1f0be88be5cb2152e0..8ff1bf5be0134db9594cc418b9d560aa29e537db 100644
(file)
--- a/
drivers/net/wireless/wl12xx/main.c
+++ b/
drivers/net/wireless/wl12xx/main.c
@@
-1055,7
+1055,7
@@
static int wl1271_fetch_firmware(struct wl1271 *wl)
ret = request_firmware(&fw, fw_name, wl->dev);
if (ret < 0) {
- wl1271_error("could not get firmware
: %d"
, ret);
+ wl1271_error("could not get firmware
%s: %d", fw_name
, ret);
return ret;
}
@@
-1093,7
+1093,8
@@
static int wl1271_fetch_nvs(struct wl1271 *wl)
ret = request_firmware(&fw, WL12XX_NVS_NAME, wl->dev);
if (ret < 0) {
- wl1271_error("could not get nvs file: %d", ret);
+ wl1271_error("could not get nvs file %s: %d", WL12XX_NVS_NAME,
+ ret);
return ret;
}