fix(scan): Make sure scan struct is cleared before set (#10282)

This commit is contained in:
Me No Dev 2024-09-09 12:39:43 +03:00 committed by GitHub
parent 976bda6b49
commit e964a2deab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,6 +77,7 @@ int16_t
scanDelete();
wifi_scan_config_t config;
memset(&config, 0, sizeof(wifi_scan_config_t));
config.ssid = (uint8_t *)ssid;
config.bssid = (uint8_t *)bssid;
config.channel = channel;