1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
openmptcprouter-feeds/netifd/patches/002-Fix-wep-mixed-mode-configuration.patch
2022-04-06 20:55:49 +08:00

13 lines
345 B
Diff

diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh
index 8c0ff78..aaa3a1c 100644
--- a/scripts/netifd-wireless.sh
+++ b/scripts/netifd-wireless.sh
@@ -235,6 +235,8 @@ wireless_vif_parse_encryption() {
;;
*wep*)
auth_type=wep
+ wpa=0
+ wpa_pairwise=
case "$encryption" in
*shared*)
auth_mode_open=0