nerves-networking / vintage_net_wifi

WiFi networking for VintageNet
Apache License 2.0
32 stars 18 forks source link

Work around wpa_supplicant SSID parser #197

Closed fhunleth closed 1 year ago

fhunleth commented 1 year ago

In the unusual case where there are a lot of characters being escaped, the wpa_supplicant SSID parser will reject the ssid. It's not clear that these are even valid SSIDs or just someone messing around. Trimming them will make wpa_supplicant pass its checks even though it almost certainly won't connect. This seems better than the current behavior of restarting wpa_supplicant when it exits.