wl18xx: fallback to default conf in case of invalid conf file
authorEliad Peller <eliad@wizery.com>
Wed, 6 May 2015 08:29:54 +0000 (11:29 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 9 May 2015 13:49:16 +0000 (16:49 +0300)
commit6f157edb4daa75ffc9e756b2ee8159270418d66f
tree03b3e97b48f6a19e73b516f2c3c25ee5997cbd6e
parent4aff53ef18e4a444dea060ab5d25128f87093d54
wl18xx: fallback to default conf in case of invalid conf file

If the wl18xx-conf.bin file is missing or invalid (e.g. due
to recent driver change), fallback to default configuration
instead of failing driver load.

Reported-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ti/wl18xx/main.c