Fix softap_config_equal compare auth_mode/cipher #5115 (#5121)

fixes #5115
This commit is contained in:
Rotzbua 2021-06-10 12:16:38 +02:00 committed by GitHub
parent aec2635b07
commit 5b5cbb4926
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,12 +69,18 @@ static bool softap_config_equal(const wifi_config_t& lhs, const wifi_config_t& r
if(lhs.ap.channel != rhs.ap.channel) {
return false;
}
if(lhs.ap.authmode != rhs.ap.authmode) {
return false;
}
if(lhs.ap.ssid_hidden != rhs.ap.ssid_hidden) {
return false;
}
if(lhs.ap.max_connection != rhs.ap.max_connection) {
return false;
}
if(lhs.ap.pairwise_cipher != rhs.ap.pairwise_cipher) {
return false;
}
return true;
}