summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/cmd.c
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2012-06-26 07:41:15 (GMT)
committerLuciano Coelho <coelho@ti.com>2012-06-26 17:30:03 (GMT)
commit7a50bdfb81a6bff96100cd2a2c95f8b3cf05bc0c (patch)
treeee18c7f890c3fc16223270a3e44e06897a2d3be3 /drivers/net/wireless/ti/wlcore/cmd.c
parent8b425e62d96a3b3a3cc68e6203267f92d1a01946 (diff)
downloadlinux-fsl-qoriq-7a50bdfb81a6bff96100cd2a2c95f8b3cf05bc0c.tar.xz
wlcore: fix broken TX due to wrong queuing of recovery
commit 14bba17b "wl12xx: Propagate errors from wl1271_raw_write32" breaks down TX in certain scenarios. wl1271_irq_locked() propagates errors from wl1271_tx_work_locked however it may return -EBUSY when the FW queues are full which is a legitimate case and not a a real error. In this case a recovery is triggered by wl1271_irq and this keeps repeating itself so TX is completely broken. Fix it by avoiding propagating return values as errors even if they aren't. Only bus (SDIO or SPI) ops failures would be progagated as only these should trigger recovery. Signed-off-by: Eyal Shapira <eyal@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/cmd.c')
0 files changed, 0 insertions, 0 deletions