commit | a76b20e5ca8a9ec0b45a4150b4ad19e27dd19699 | [log] [tgz] |
---|---|---|
author | Amitkumar Karwar <akarwar@marvell.com> | Mon Jul 22 19:17:53 2013 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Jul 24 11:02:10 2013 -0400 |
tree | d431fea52d46183645b01452e990bcbcef869bba | |
parent | d00062e318b1e4a4bec8a8e343efe8bc92d3b109 [diff] |
mwifiex: replace mdelay with msleep It is observed that when wrong firmware is downloaded for PCIe card, system hangs for 10 seconds. The reason is mdelay() is used when firmware status is polled. Replace mdelay with msleep(non-blocking API) to fix the issue. 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>