wl1271: Check result code of commands
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>
Mon, 2 Nov 2009 18:22:10 +0000 (20:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 2 Nov 2009 20:43:32 +0000 (15:43 -0500)
commit3b775b4b27818130291e7716f3ce1e24664004c9
tree75232beef2e18edc233aab2fcea2133275814479
parent605351e2220bd7960a55d6d7903f87f11f419f4e
wl1271: Check result code of commands

Check the result code of all commands, and return an error code if the
firmware reports an error in execution. Previously this error would go
ignored in most cases.

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