we turn off the radio before checking if the packet is from AP. If the packet is not from AP, then the radio will be off and not be on any more.