wl1251: fix error handling in wl1251_op_config()
authorKalle Valo <kalle.valo@nokia.com>
Mon, 30 Nov 2009 08:17:52 +0000 (10:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Dec 2009 23:55:49 +0000 (18:55 -0500)
commit478fdf2bcef73747eb99bc6dd3565f093942647a
treeb4a26445c5131adf591c5976ebb16bce01d6b5b1
parentd67e261829d405ed19a6c2e648f224e352012f52
wl1251: fix error handling in wl1251_op_config()

Not all return values were checked and one exit from function didn't put
firmware sleep after the error.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_main.c