Fix mistake in wifi scanner implementation
This commit is contained in:
parent
83451e7d47
commit
30fab72690
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user