Skip to content

Commit

Permalink
Add double quotes to SSID name
Browse files Browse the repository at this point in the history
  • Loading branch information
henriquetorquato committed Mar 8, 2025
1 parent 77862a8 commit 5ac2ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/gps/wardriving.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ void Wardriving::append_to_file(int network_amount) {
int32_t channel = WiFi.channel(i);

char buffer[512];
snprintf(buffer, sizeof(buffer), "%s,%s,[%s],%04d-%02d-%02d %02d:%02d:%02d,%d,%d,%d,%f,%f,%f,%f,,,WIFI\n",
snprintf(buffer, sizeof(buffer), "%s,\"%s\",[%s],%04d-%02d-%02d %02d:%02d:%02d,%d,%d,%d,%f,%f,%f,%f,,,WIFI\n",
macAddress.c_str(),
WiFi.SSID(i).c_str(),
auth_mode_to_string(WiFi.encryptionType(i)).c_str(),
Expand Down

0 comments on commit 5ac2ca3

Please sign in to comment.