wl12xx: optimise elp wakeup and sleep calls
authorKalle Valo <kalle.valo@nokia.com>
Fri, 12 Jun 2009 11:16:26 +0000 (14:16 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 18:57:47 +0000 (14:57 -0400)
commit01d9cfbdaadc64a46b57437c989bbad241074135
tree8c3946f17ee1571515271ffa550c22a643b8bb33
parentcee4fd2712a3db21f432bdff14e59aed160453b2
wl12xx: optimise elp wakeup and sleep calls

The wakeup call was done too deep in code path, it's better to wakeup
chip from higher levels. This will also reduce wakeup calls significantly.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/cmd.c
drivers/net/wireless/wl12xx/debugfs.c
drivers/net/wireless/wl12xx/main.c