wlcore: Propagate errors from wl1271_read_hwaddr
authorIdo Yariv <ido@wizery.com>
Mon, 18 Jun 2012 15:15:50 +0000 (18:15 +0300)
committerLuciano Coelho <coelho@ti.com>
Fri, 22 Jun 2012 07:49:45 +0000 (10:49 +0300)
commit2b80040782af56e1b13ad451f593dd4e1875b2b8
tree267fe2a51b764532c57f97c0cc280c07169dd87c
parentb0f0ad39e3d2716fe9ca6e50ce4cda87eb409ee0
wlcore: Propagate errors from wl1271_read_hwaddr

Propagate errors from wl1271_read_hwaddr. This function is only used
when reading the FW log (following a recovery), so don't read the FW log
in case of a bus error.

Also rename prefixes of wlcore functions which their prototypes had to
be changed.

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