We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc4d69e commit 361aee7Copy full SHA for 361aee7
libraries/WiFi/src/WiFi.cpp
@@ -4,7 +4,7 @@
4
5
bool arduino::WiFiClass::isVisible(const char* ssid) {
6
for (int i=0; i<10; i++) {
7
- if (strncmp(ap_list[i].get_ssid(), ssid, 32) == 0) {
+ if (strncmp(ap_list[i].get_ssid(), ssid, SSID_MAX_LENGTH) == 0) {
8
connected_ap = i;
9
return true;
10
}
0 commit comments