Skip to content

Commit 0857109

Browse files
authored
[backport-v1] Fix softap_config_equal compare auth_mode/cipher (#5332)
backport from v2 to v1 of fix #5121 fixes #5038
1 parent bb2d98a commit 0857109

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: libraries/WiFi/src/WiFiAP.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ static bool softap_config_equal(const wifi_config_t& lhs, const wifi_config_t& r
6767
if(lhs.ap.channel != rhs.ap.channel) {
6868
return false;
6969
}
70+
if(lhs.ap.authmode != rhs.ap.authmode) {
71+
return false;
72+
}
7073
if(lhs.ap.ssid_hidden != rhs.ap.ssid_hidden) {
7174
return false;
7275
}

0 commit comments

Comments
 (0)