A Google researcher found flaws in Apple’s AWDL protocol that would have allowed for a complete device takeover.