wl12xx: enter psm only after station role was started
authorEliad Peller <eliad@wizery.com>
Tue, 23 Aug 2011 13:37:01 +0000 (16:37 +0300)
committerLuciano Coelho <coelho@ti.com>
Thu, 25 Aug 2011 07:19:28 +0000 (10:19 +0300)
commit05dba3550603b9dc8609b5ea7c3ffba4e3bb97f2
treea34430ca8860465c46ead407be8220b85a20f49b
parenta879ed790a6108a3372be2d22a1ae81f59ab8db8
wl12xx: enter psm only after station role was started

The station didn't get into psm after recovery, because
psm was configured before sta role was started.

Move wl1271_ps_set_mode() to be executed only after
the role was started.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c