ipacm: Add WAN_IOC_NOTIFY_WAN_STATE flag to avoid compilation error

Add WAN_IOC_NOTIFY_WAN_STATE flag to avoid compilation error.

Change-Id: I966acdaab8b0e31d379967e7281685541d852963
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++)