MT7620/MT7628/MT7688移植原厂WiFi驱动后Luci界面看不到WPA加密方式,该咋办?

已邀请:

大茶园丁 - 如:80后IT男...

赞同来自: xzmu pp187002776

一点提示:
openwrt@cheetah-laptop:~/opensource/openwrt-cc/feeds/luci/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network$ git diff
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
index 9a4ee77..f09b42b 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@ -740,6 +740,10 @@ elseif hwtype == "broadcom" then
encr:value("psk", "WPA-PSK")
encr:value("psk2", "WPA2-PSK")
encr:value("psk+psk2", "WPA-PSK/WPA2-PSK Mixed Mode")
+elseif hwtype == "ralink" or hwtype == "rt2860v2" or hwtype == "mt_wifi" then
+ encr:value("psk", "WPA-PSK")
+ encr:value("psk2", "WPA2-PSK")
+ encr:value("psk+psk2", "WPA-PSK/WPA2-PSK Mixed Mode")
end

auth_server = s:taboption("encryption", Value, "auth_server", translate("Radius-Authentication-Server"))

要回复问题请先登录注册