wlcore: don't re-configure wakeup conditions if not needed
authorEyal Shapira <eyal@wizery.com>
Thu, 5 Jul 2012 16:05:17 +0000 (19:05 +0300)
committerLuciano Coelho <coelho@ti.com>
Wed, 18 Jul 2012 12:08:21 +0000 (15:08 +0300)
commit8e945ff9739dd75adce5d850eec079b4e9af550b
tree4c02b60b52cfa76325381cf893d1ea24e8885ddf
parent45777c49ec376f5325e9ebbca85ee3e71697b0d2
wlcore: don't re-configure wakeup conditions if not needed

suspend and resume callbacks configure wakeup conditions to the FW
which may be different between suspend and resume.
This feature is currently not utilized as both in suspend and resume
FW wakeup every 1 DTIM. Avoid waking up the chip and doing the FW command
unless there's an actual difference in the wakeup conditions.

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c