mirror of
				https://github.com/esp8266/Arduino.git
				synced 2025-11-03 14:33:37 +03:00 
			
		
		
		
	Update ESP8266WiFiSTA.cpp (#8229)
change return to `WL_WRONG_PASSWORD` if there is an issue with the password!
This commit is contained in:
		@@ -136,7 +136,7 @@ wl_status_t ESP8266WiFiSTAClass::begin(const char* ssid, const char *passphrase,
 | 
			
		||||
    int passphraseLen = passphrase == nullptr ? 0 : strlen(passphrase);
 | 
			
		||||
    if(passphraseLen > 64) {
 | 
			
		||||
        // fail passphrase too long!
 | 
			
		||||
        return WL_CONNECT_FAILED;
 | 
			
		||||
        return WL_WRONG_PASSWORD;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    struct station_config conf;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user