Fixed bug that prevents scanning for networks after re-enabling Wi-Fi.