1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-27 13:04:41 +03:00

check for WiFi pass < 8 (not allowed for WPA2)

simplify STA config and allow setting of second DNS server for fallback
code style
This commit is contained in:
Markus Sattler
2015-12-29 15:28:29 +01:00
parent 7edcda4a0f
commit 293e55c690
5 changed files with 41 additions and 53 deletions

View File

@@ -314,7 +314,6 @@ void ESP8266WiFiScanClass::_scanDone(void* result, int status) {
* @return bss_info *
*/
void * ESP8266WiFiScanClass::_getScanInfoByIndex(int i) {
//TODO why its void * and not bss_info * ?
if(!ESP8266WiFiScanClass::_scanResult || (size_t) i > ESP8266WiFiScanClass::_scanCount) {
return 0;
}