]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c9904dc85e1f17e6bbf13f5b8d275bb741e1f71
tree4c02b60b52cfa76325381cf893d1ea24e8885ddf
parentb7466b9525dcb37da93e1e3537f6e989d370c3d5
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