]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdbc3e7096ab0abc5e11e19c7392b308432c001d7
tree66e05222e0298a33097d6a75fd3970f86024fac7
parent17f1754840f678e7324df7961d19121dca486451
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