wl1251: fix sleep related error paths in wl1251_op_bss_info_changed()
authorKalle Valo <kalle.valo@nokia.com>
Tue, 5 Jan 2010 18:17:10 +0000 (20:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jan 2010 18:51:28 +0000 (13:51 -0500)
commit80a112ffe8dbada25f3780ecc4beebf23451d755
tree4910a393f12ae6ba45dd99d74c36e3a41c52598a
parentdc52f0a8e50303eb67ff8856cd8d1b461462ceec
wl1251: fix sleep related error paths in wl1251_op_bss_info_changed()

In various cases wl1251_op_bss_info_changed() did not call elp_sleep()
after an error was noticed. Fix it by using correct goto label.

The bug was a theoretical one, in practise it doesn't matter because
if commands start returning errors there will be lots of other problems.

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