Fix OTA in AP mode  (#5894)
Fix OTA in AP mode  (#5894)

OTA is broken in AP mode because ESP8266mDNS is checking whether the station is connected before processing. Change the logic to WiFi.isConnected() OR WiFi.softAPgetStationNum()>0 fixes the issue.
esp8266/Arduino,sticilface/Arduino,sticilface/Arduino,sticilface/Arduino,esp8266/Arduino,esp8266/Arduino,Lan-Hekary/Arduino,Lan-Hekary/Arduino,sticilface/Arduino,esp8266/Arduino,esp8266/Arduino,sticilface/Arduino,Lan-Hekary/Arduino,Lan-Hekary/Arduino,Lan-Hekary/Arduino