mwifiex: reduce firmware poll retries
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 23 Jul 2013 02:17:52 +0000 (19:17 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Jul 2013 15:02:09 +0000 (11:02 -0400)
commitd00062e318b1e4a4bec8a8e343efe8bc92d3b109
treea469ef7b9af008345a8710f15b74e34bc45ded7d
parent2739a95d708c67ff541826f79ef0b2d19320306f
mwifiex: reduce firmware poll retries

After downloading the firmware, firmware status is checked by
reading a register. Polling interval is 100 msecs. Therefore 100
retries means the status is checked for 10 secs which is more than
sufficient for firmware to get ready.

This patch removes 1000 retries macro usage, because 100secs
time is not practical.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/fw.h
drivers/net/wireless/mwifiex/init.c