]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ae3c3b37cc714d9e50175bba0eb31295dbf2d6a
tree4845b94cb199d9747c9495b8ffd5bb0f2dc83e95
parent5f8d5c1e896ccd027a2fff011499733f635c4615
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