fix wifi direct, credits AOSX