commit | d8c49ffb2e2a47b23fec7f469435e7b112e2e569 | [log] [tgz] |
---|---|---|
author | Sujith.Manoharan@atheros.com <Sujith.Manoharan@atheros.com> | Tue May 11 16:24:43 2010 +0530 |
committer | John W. Linville <linville@tuxdriver.com> | Wed May 12 16:39:06 2010 -0400 |
tree | e10f7f1318597dd47982e2043355ff2d89173728 | |
parent | 47fce026d5de5d11e161da73208171e9c91b659a [diff] |
ath9k_htc: Fix target ready race condition The ready message from the target could be processed before the host HW init has completed. In this case, htc_process_target_rdy() would assume the target has timed out, when it hasn't. Fix this by checking if the target has sent the ready message properly. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>