wl12xx: pass the wake up condition when configuring the wake up event
authorLuciano Coelho <luciano.coelho@nokia.com>
Fri, 12 Jun 2009 11:15:46 +0000 (14:15 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 18:57:46 +0000 (14:57 -0400)
commit9f483dc3d1b0b1695c8177c1dea2e721954b10fb
tree000c5b1f96725d60815105c134ebaa1cbea3628b
parent052a625a859ceba68022862eeee70511f56483a5
wl12xx: pass the wake up condition when configuring the wake up event

Changed the function wl12xx_acx_wake_up_conditions() so that it receives an
argument with the actual wake up condition, instead of having
WAKE_UP_EVENT_DTIM_BITMAP hardcoded.  This is needed because we have to use
different conditions in 1271.

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