libertas: Check return status of command functions
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 9 Oct 2009 02:38:45 +0000 (19:38 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:47:55 +0000 (16:47 -0400)
commitc0bbd57679efc2350703a1c0f3fc624cbcaba55f
tree9d7abd3b727fd64c9ccf782277ce90a6656f861a
parentbe823e5b2d71d367b5e27496e2b19d453e21936e
libertas: Check return status of command functions

Return status of lbs_prepare_and_send_command and lbs_cmd_with_response
functions is not checked at some places. Those checks are added.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/debugfs.c
drivers/net/wireless/libertas/main.c
drivers/net/wireless/libertas/scan.c
drivers/net/wireless/libertas/wext.c