Wireless config with no password

I’m trying to get the WiFi setup with the Raspberry Pi at school using HA OS. It’s fairly annoying since I can’t dig a little deeper since I don’t have top-level privileges. My school doesn’t use a password for their public WiFi. I tried just leaving it blank in the config file:

[802-11-wireless]
mode=infrastructure
ssid=PublicWiFi

[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk=

but I’m not sure if that’s correct. Do I erase the psk line altogether? Do I erase the entire [802-11-wireless-security] section? I would try every combination but there might be something else keeping it from connecting so troubleshooting would be much more difficult. Thanks.

It seems like removing the entire [802-11-wireless-security] worked.

thanks it worked for me !