Merge fa69d1f59e6f5cae46db6d312361625188616e85 on remote branch

Change-Id: Ic005c52b7bf7037e13de176e56f60c9dcd226969
diff --git a/ipacm/src/IPACM_Wan.cpp b/ipacm/src/IPACM_Wan.cpp
index 103e1b8..1400696 100644
--- a/ipacm/src/IPACM_Wan.cpp
+++ b/ipacm/src/IPACM_Wan.cpp
@@ -4369,6 +4369,7 @@
 		else
 		{
 			/* change wan_state for Q6_MHI */
+#ifdef WAN_IOC_NOTIFY_WAN_STATE
 			IPACMDBG_H("ipa_pm_q6_check to %d\n", ipa_pm_q6_check);
 			if(ipa_pm_q6_check == 1 && m_is_sta_mode == Q6_MHI_WAN)
 			{
@@ -4389,6 +4390,7 @@
 				ipa_pm_q6_check--;
 			else
 				IPACMERR(" ipa_pm_q6_check becomes negative !!!\n");
+#endif
 		}
 
 		for (tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++)