]> 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)
commitb9fc3746f84b425e05526a2aa38c0f17a7665530
tree4c02b60b52cfa76325381cf893d1ea24e8885ddf
parentfed38d28f82644cf8035691e1e2374659cece081
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