未验证 提交 5b5cbb49 编写于 作者: R Rotzbua 提交者: GitHub

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

fixes #5115
上级 aec2635b
...@@ -69,12 +69,18 @@ static bool softap_config_equal(const wifi_config_t& lhs, const wifi_config_t& r ...@@ -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) { if(lhs.ap.channel != rhs.ap.channel) {
return false; return false;
} }
if(lhs.ap.authmode != rhs.ap.authmode) {
return false;
}
if(lhs.ap.ssid_hidden != rhs.ap.ssid_hidden) { if(lhs.ap.ssid_hidden != rhs.ap.ssid_hidden) {
return false; return false;
} }
if(lhs.ap.max_connection != rhs.ap.max_connection) { if(lhs.ap.max_connection != rhs.ap.max_connection) {
return false; return false;
} }
if(lhs.ap.pairwise_cipher != rhs.ap.pairwise_cipher) {
return false;
}
return true; return true;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册