ath9k_htc: Fix target ready race condition
authorSujith.Manoharan@atheros.com <Sujith.Manoharan@atheros.com>
Tue, 11 May 2010 10:54:43 +0000 (16:24 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 May 2010 20:39:06 +0000 (16:39 -0400)
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>

No differences found