Skip to content

Commit 5b5cbb4

Browse files
authoredJun 10, 2021
Fix softap_config_equal compare auth_mode/cipher #5115 (#5121)
fixes #5115
1 parent aec2635 commit 5b5cbb4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎libraries/WiFi/src/WiFiAP.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,18 @@ static bool softap_config_equal(const wifi_config_t& lhs, const wifi_config_t& r
6969
if(lhs.ap.channel != rhs.ap.channel) {
7070
return false;
7171
}
72+
if(lhs.ap.authmode != rhs.ap.authmode) {
73+
return false;
74+
}
7275
if(lhs.ap.ssid_hidden != rhs.ap.ssid_hidden) {
7376
return false;
7477
}
7578
if(lhs.ap.max_connection != rhs.ap.max_connection) {
7679
return false;
7780
}
81+
if(lhs.ap.pairwise_cipher != rhs.ap.pairwise_cipher) {
82+
return false;
83+
}
7884
return true;
7985
}
8086

0 commit comments

Comments
 (0)
Please sign in to comment.