Merge "Fix multicast test modulatedDTIM error"

Test: None
Bug: 65563975

Change-Id: I1a898b5097a640a27ed4c1ef7a7d0146fe9e2fad
(cherry picked from commit 3bb497c828fa0f59e36fc91be4bc72d478aa02f9)
diff --git a/acts/framework/acts/test_utils/wifi/wifi_power_test_utils.py b/acts/framework/acts/test_utils/wifi/wifi_power_test_utils.py
index 565305e..aa882d5 100644
--- a/acts/framework/acts/test_utils/wifi/wifi_power_test_utils.py
+++ b/acts/framework/acts/test_utils/wifi/wifi_power_test_utils.py
@@ -290,7 +290,7 @@
     return [plot, dt]
 
 
-def change_dtim(ad, gEnableModulatedDTIM, gMaxLIModulatedDTIM=6):
+def change_dtim(ad, gEnableModulatedDTIM, gMaxLIModulatedDTIM=10):
     """Function to change the DTIM setting in the phone.
 
     Args:
@@ -313,7 +313,8 @@
                 gEDTIM_old = line.strip('gEnableModulatedDTIM=').strip('\n')
             if 'gMaxLIModulatedDTIM=' in line:
                 gMDTIM_old = line.strip('gMaxLIModulatedDTIM=').strip('\n')
-    if int(gEDTIM_old) == gEnableModulatedDTIM:
+    if int(gEDTIM_old) == gEnableModulatedDTIM and int(
+            gMDTIM_old) == gMaxLIModulatedDTIM:
         ad.log.info('Current DTIM is already the desired value,'
                     'no need to reset it')
         return