]> git.baikalelectronics.ru Git - kernel.git/commit
wl1271: check result code from the join command
authorLuciano Coelho <luciano.coelho@nokia.com>
Fri, 11 Dec 2009 13:40:47 +0000 (15:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:31:30 +0000 (16:31 -0500)
commitc840bce934842697ae6062d0a6c4f057c65944d5
treec932d29e28673807c5544af2335a050944a64c04
parent76ffa2ce0336b8930a0cc1b8c58721edac368eac
wl1271: check result code from the join command

We were not checking the return value from the call to wl1271_cmd_join().
Added a check to make things more reliable.

Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271_main.c