Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix softap_config_equal compare auth_mode/cipher #5115
  • Loading branch information
Rotzbua authored Apr 28, 2021
commit 3a13a3950e8613aaed205f6b0648203c0ceb02c5
6 changes: 6 additions & 0 deletions libraries/WiFi/src/WiFiAP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down