wl1271: make sure PS is disabled in PLT
authorLuciano Coelho <luciano.coelho@nokia.com>
Tue, 13 Oct 2009 09:47:58 +0000 (12:47 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 27 Oct 2009 20:48:16 +0000 (16:48 -0400)
commitbd5ea18f7b47b5397233301920180128793295a2
tree7f67275b3ee1cbc5a7a25d78dbd64bd1f98f78b8
parented317788b925cfd896506ee775acca7392470b9b
wl1271: make sure PS is disabled in PLT

We cannot be in PS mode when running PLT tests, so we need to make sure we're
in active mode.  Also, we need to clear up the rx_counter when we stop PLT,
otherwise it could cause problems when entering PLT again.

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