nerves-networking / vintage_net_wifi

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

Handle configurations with unset SSIDs #21

Closed fhunleth closed 4 years ago

fhunleth commented 4 years ago

This was found in the wild where the SSID was populated from the Application environment. The setting wasn't in the application environment so nil was being passed. This would cause a crash (since it's wrong) and remove all WiFi configuration. This seems too harsh. The new behavior is to drop nil networks and show a warning.