luci-mod-network: default to ieee80211w=2 for OWE
authorJo-Philipp Wich <jo@mein.io>
Fri, 20 Sep 2019 09:30:09 +0000 (11:30 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 20 Sep 2019 09:30:09 +0000 (11:30 +0200)
Ref: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/network/services/hostapd/files/hostapd.sh;h=46acbefeeeb771de879dd9926ad170042dff2473;hb=HEAD#l327
Fixes: 63f28fd06 luci-mod-network: default to ieee80211w=1 for OWE
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js

index cc71b9050ea9ad9ce0f1f8f4143eeead17add731..595cd1e221d25473f5c94c78916a575fb580cf92 100644 (file)
@@ -1544,8 +1544,8 @@ return L.view.extend({
                                                        o.depends({ mode: 'sta-wds', encryption: 'sae-mixed' });
                                                        o.depends({ mode: 'sta-wds', encryption: 'owe' });
                                                        o.defaults = {
-                                                               '2': [{ encryption: 'sae' }],
-                                                               '1': [{ encryption: 'sae-mixed'}, { encryption: 'owe' }],
+                                                               '2': [{ encryption: 'sae' }, { encryption: 'owe' }],
+                                                               '1': [{ encryption: 'sae-mixed'}],
                                                                '':  []
                                                        };