Added runtime conditional check for SPARK_WLAN_START state variable