]> git.karo-electronics.de Git - karo-tx-linux.git/commit
wl1271: Fix msleep() delay while waiting for completion
authorSaravanan Dhanabal <ext-saravanan.dhanabal@nokia.com>
Fri, 26 Mar 2010 10:53:33 +0000 (12:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 31 Mar 2010 18:39:16 +0000 (14:39 -0400)
commitbc0f03ea579d78f845a44a0c611806da64057b03
tree5baea9ca27c4e2558487e9d594ab00cf7db96dd6
parentc18995540cc4d2c84d130581b8b6720b22ca16b5
wl1271: Fix msleep() delay while waiting for completion

After last transmission, the device goes to sleep earlier
than the configured dynamic power save timeout. If timeout
is set to 400ms, device enters into sleep mode at around
330ms since from last TX.

This patch removes the msleep(1), which causes the delay
after ELP wakeup. Replaced with udelay(10), the variation
is around 7-10ms.

Signed-off-by: Saravanan Dhanabal <ext-saravanan.dhanabal@nokia.com>
Reviewed-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1271_cmd.c