wl12xx: schedule recovery on command timeout
authorArik Nemtsov <arik@wizery.com>
Mon, 18 Apr 2011 11:15:23 +0000 (14:15 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 2 May 2011 07:31:03 +0000 (10:31 +0300)
commitf482b76202f4ac0f62a77b0e55ac1a1cfe480e2b
tree66e05222e0298a33097d6a75fd3970f86024fac7
parent521a4a23261354885c01bf75b42150629004ed83
wl12xx: schedule recovery on command timeout

We use a long timeout (2 seconds) when sending commands to the FW.
When a command times out, it means the FW is stuck, and we should
commence recovery.

This should make recovery times shorter as we'll recover on the first
timeout indication.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/cmd.c