netifd-wireless: parse 'osen' encryption
authorDaniel Golle <daniel@makrotopia.org>
Tue, 8 Sep 2020 16:33:29 +0000 (17:33 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 8 Sep 2020 18:44:00 +0000 (19:44 +0100)
Support Hotspot 2.0 online signup with encryption, either as only
encryption type of a dedicated SSID or together with WPA-EAP for
single SSID setups.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
scripts/netifd-wireless.sh

index d51380d235d70ea221e42bf1ca764bbbfa069c85..72f36d6efad30169f93ffac808b0cb3ff35dbe3f 100644 (file)
@@ -275,6 +275,12 @@ wireless_vif_parse_encryption() {
                        esac
                ;;
        esac
+
+       case "$encryption" in
+               *osen*)
+                       auth_osen=1
+               ;;
+       esac
 }
 
 _wireless_set_brsnoop_isolation() {