Created attachment 595827 [details] [diff] [review]
Right now what we'll do is:
Look for an unencrypted "Mozilla" network.
If that doesn't exist, look for an unencrypted "Mozilla Guest" network.
There's a bug in my patch where if you have a network explicitly set to be enabled in the configuration, we'll never try to connect, but that should be an extremely rare state to be in. I'll fix that in a followup (hopefully the followup that lets us remove this hack).
Comment on attachment 595827 [details] [diff] [review]
Created attachment 599081 [details] [diff] [review]
This has r=cjones over IRC. This uses wpa_supplicant's logic to decide which network to connect to and adds the "mozilla demo" network.