Fix mistake in wifi scanner implementation

This commit is contained in:
Rick Watson 2018-11-11 18:35:33 +00:00
parent 83451e7d47
commit 30fab72690

View File

@ -45,7 +45,7 @@ void WiFiScanner::listNetworks(AsyncWebServerRequest *request) {
* *
* This allows us to use a single set of mappings in the UI. * This allows us to use a single set of mappings in the UI.
*/ */
uint8_t convertEncryptionType(uint8_t encryptionType){ uint8_t WiFiScanner::convertEncryptionType(uint8_t encryptionType){
switch (encryptionType){ switch (encryptionType){
case ENC_TYPE_NONE: case ENC_TYPE_NONE:
return AUTH_OPEN; return AUTH_OPEN;