wlcore: Propagate errors from wlcore_raw_*_data functions
authorIdo Yariv <ido@wizery.com>
Sun, 17 Jun 2012 18:59:42 +0000 (21:59 +0300)
committerLuciano Coelho <coelho@ti.com>
Fri, 22 Jun 2012 07:46:34 +0000 (10:46 +0300)
commit8b7c0fc3569693c3a68103b7d5a7dad5b84109bc
tree4845b94cb199d9747c9495b8ffd5bb0f2dc83e95
parent0c2a6ce04eb4d742170a4ddfeb57263fb7964698
wlcore: Propagate errors from wlcore_raw_*_data functions

wlcore_raw_read_data is called when the FW status is read which happens
while handling interrupts and when the FW log is read following a
recovery. Request a recovery in the former case, and don't read the FW
log in case the FW status read failed.

Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/io.h
drivers/net/wireless/ti/wlcore/main.c