aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/wl12xx/wl1251_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl12xx/wl1251_main.c
index 0155653b7105..7b8b21212bf7 100644
--- a/drivers/net/wireless/wl12xx/wl1251_main.c
+++ b/drivers/net/wireless/wl12xx/wl1251_main.c
@@ -201,8 +201,8 @@ static int wl1251_chip_wakeup(struct wl1251 *wl)
201 goto out; 201 goto out;
202 } 202 }
203 203
204 /* No NVS from netlink, try to get it from the filesystem */ 204 if (wl->nvs == NULL && !wl->use_eeprom) {
205 if (wl->nvs == NULL) { 205 /* No NVS from netlink, try to get it from the filesystem */
206 ret = wl1251_fetch_nvs(wl); 206 ret = wl1251_fetch_nvs(wl);
207 if (ret < 0) 207 if (ret < 0)
208 goto out; 208 goto out;