]> git.baikalelectronics.ru Git - kernel.git/commit
wl1251: timeout one too soon in wl1251_boot_run_firmware()
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 26 Dec 2009 19:31:59 +0000 (20:31 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:20:06 +0000 (16:20 -0500)
commit97bc07955e30e6cd152e55633303243d67147a49
tree7d95ac3d15238cf984b9633aef563d6faa0c347b
parent5f66e427ccf8e72659b8b23e1a9ff45c301b65ae
wl1251: timeout one too soon in wl1251_boot_run_firmware()

`loop' reaches INIT_LOOP + 1 after the loop. so if ACX_INTR_INIT_COMPLETE
occurs in the last iteration the write occurs but also the error out as if a
timeout occurred. This is probably very unlikely to ever occur.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_boot.c