refactor: Dedupe wifi scan in-place without std::map (#2262)

## Summary

`std::map` heap-allocates each node. Avoid using it for wifi SSID
dedupe, and instead just dedupe in-place with the existing `networks`
vector. Removed dead `ipAddress` member in `WifiNetworkInfo` struct.

---

### AI Usage

Did you use AI tools to help write this code? _**PARTIALLY**_
This commit is contained in:
Zach Nelson
2026-06-07 08:27:20 -04:00
committed by GitHub
parent fad1a801a4
commit 3a1e9f3023
2 changed files with 13 additions and 20 deletions
@@ -18,7 +18,6 @@ struct WifiNetworkInfo {
int32_t rssi;
bool isEncrypted;
bool hasSavedPassword; // Whether we have saved credentials for this network
std::string ipAddress; // Populated after connection for display
};
// WiFi selection states