wl12xx: configure sleep_policy according to active roles
authorEliad Peller <eliad@wizery.com>
Tue, 11 Oct 2011 09:49:15 +0000 (11:49 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 11 Oct 2011 12:04:23 +0000 (15:04 +0300)
If there is an active AP role, stay always on.
Otherwise, allow chip to enter elp.

(Note that this is a global configuration, so if the
device is already configured according to our policy,
we don't have to configure it again)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>

No differences found