wlcore/wl12xx/wl18xx: make NVS file optional for wl18xx
authorArik Nemtsov <arik@wizery.com>
Tue, 29 May 2012 15:38:05 +0000 (18:38 +0300)
committerLuciano Coelho <coelho@ti.com>
Fri, 8 Jun 2012 06:52:06 +0000 (09:52 +0300)
commit3e3947fffc2ebe8c52891b3fca195172875dc951
tree425a4d788ff757d7fd09694458125830aa288040
parent17d97719dc2fe2b9c13831dc2c8572b54efe00b4
wlcore/wl12xx/wl18xx: make NVS file optional for wl18xx

Don't spew errors when we can't find the NVS file in wlcore. Instead
fail the wl12xx boot HW op if the NVS isn't found.

Take this opportunity to remove some dead code from register_hw()
which looks for the NVS again needlessly.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/boot.c
drivers/net/wireless/ti/wlcore/main.c