Wlan: In power state change cb set ignore dtim if modulated DTIM is set
If the driver was not in BMPS during early suspend ignore_dtim_enabled
is not set.
Once driver change power state to BMPS dtim is set to modulated
dtim (3) value. Power state changed callback sets variable
ignore_dtim_enabled only if dynamic dtim is enabled.
By default dynamic dtim is disabled.
Now during resume the driver checks ignore_dtim_enabled, to reset the
dtim value to 1. But as this value is not set dtim value remains 3.
To avoid this add check to set ignore_dtim_enabled if modulated dtim
is enabled.
Change-Id: I501f67e50b2c628d89d35865adb7dde9a52ff0cc
CRs-Fixed: 964417
1 file changed