OSDN Git Service

wlcore: fix link count in single-link-PSM optimization
authorArik Nemtsov <arik@wizery.com>
Tue, 12 Mar 2013 15:19:36 +0000 (17:19 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 25 Mar 2013 10:33:11 +0000 (12:33 +0200)
commit37c68ea6997aac2faf21b83c28eda3b1659c4d45
treeb1c953a9a3ece53d0fa8f179ea3a10f756e1da87
parentd21553f8900f735d2caedd1c6db75dbd67e5ab9e
wlcore: fix link count in single-link-PSM optimization

commit 144614f3eebd7d only allowed a single active link when
turning on the optimization, ignoring the fact that an AP has two
additional global links.
Use 3 links as an indication for a single active link. Use the
FW PSM bits to verify the extra active link belongs to the AP role.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/tx.c