I'm not sure if you have a similar set up, but thought I'd share this
since it took me awhile to figure out. This configuration worked for me
when trying to use a password-less wifi with an athn device. I changed
athn0 to iwi0 below...
dhcpcd_flags="-g -4 -q -b -n iwi0"
wpa_supplicant_flags="-i iwi0 -c /etc/wpa_supplicant.conf"
# or try this instead of ssid=,
# I think the capital letters are required
and then running
> /etc/rc.d/wpa_supplicant restart
> /etc/rc.d/dhcpcd restart
I had a lot of trouble trying to backquote network names with
parentheses or quotes in the ssid field so I used the bssid instead.
I'm not sure if "-" will have the same issues.