51633632ef
I noticed a timeout bug in /drivers/net/wireless/wl12xx/wl1271_spi.c In the current code you cannot tell why you exited the "poll for data ready" do-while loop if exiting was done after the last possible loop. Then timeout==0 regardless of (val & OCP_READY_MASK) or !(val & OCP_READY_MASK), leading to possible false timeout... Simple correction could be decreasing timeout after checking for !(val & OCP_READY_MASK), not before (Manually converted from email to an actual patch by me. -- JWL) Reported-by: "Juha Leppanen" <juha_motorsportcom@luukku.com> Signed-off-by: "Juha Leppanen" <juha_motorsportcom@luukku.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
wl12xx_80211.h | ||
wl1251_acx.c | ||
wl1251_acx.h | ||
wl1251_boot.c | ||
wl1251_boot.h | ||
wl1251_cmd.c | ||
wl1251_cmd.h | ||
wl1251_debugfs.c | ||
wl1251_debugfs.h | ||
wl1251_event.c | ||
wl1251_event.h | ||
wl1251_init.c | ||
wl1251_init.h | ||
wl1251_io.c | ||
wl1251_io.h | ||
wl1251_main.c | ||
wl1251_ps.c | ||
wl1251_ps.h | ||
wl1251_reg.h | ||
wl1251_rx.c | ||
wl1251_rx.h | ||
wl1251_sdio.c | ||
wl1251_spi.c | ||
wl1251_spi.h | ||
wl1251_tx.c | ||
wl1251_tx.h | ||
wl1251.h | ||
wl1271_acx.c | ||
wl1271_acx.h | ||
wl1271_boot.c | ||
wl1271_boot.h | ||
wl1271_cmd.c | ||
wl1271_cmd.h | ||
wl1271_conf.h | ||
wl1271_debugfs.c | ||
wl1271_debugfs.h | ||
wl1271_event.c | ||
wl1271_event.h | ||
wl1271_init.c | ||
wl1271_init.h | ||
wl1271_main.c | ||
wl1271_ps.c | ||
wl1271_ps.h | ||
wl1271_reg.h | ||
wl1271_rx.c | ||
wl1271_rx.h | ||
wl1271_spi.c | ||
wl1271_spi.h | ||
wl1271_tx.c | ||
wl1271_tx.h | ||
wl1271.h |