We have a custom board with imx6UL processor and we are using WF111 wifi module which connected on ushdc2. We power off the wifi module by using WF111 provided tools and similarly power it on. The problem we are facing is that suppose we power off the wifi module and make our board go to mem state (echo mem > /sys/power/state). When we come out of this state the wifi is automatically powered on which we don't want. We want to control wifi module powering on and off. Is there any solution for this? We don't want wifi to power on when we come out of mem state automatically.