mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-12 16:08:52 +01:00
wifi.go
This commit is contained in:
parent
f3c0db848a
commit
b0fc590941
@ -804,7 +804,7 @@ func (self *WifiList) GetWirelessEncrypt(network_id int) []map[string]string {
|
|||||||
|
|
||||||
for i,v := range self.EncMethods {
|
for i,v := range self.EncMethods {
|
||||||
enc_type = ""
|
enc_type = ""
|
||||||
self.Wireless.Get(self.Wireless.Method("GetWirelessProperty",network_id,"encryption_method"),&enc_type)
|
self.Wireless.Get(self.Wireless.Method("GetWirelessProperty",network_id,"enctype"),&enc_type)
|
||||||
enc_type = strings.ToLower(enc_type)
|
enc_type = strings.ToLower(enc_type)
|
||||||
if enc_type != "" && v.Type == enc_type {
|
if enc_type != "" && v.Type == enc_type {
|
||||||
activeID = i
|
activeID = i
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user