projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a3640c
)
libiwinfo: fix detection of wep encryption and open networks in nl80211 backend
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 8 Nov 2011 14:04:56 +0000
(14:04 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 8 Nov 2011 14:04:56 +0000
(14:04 +0000)
contrib/package/iwinfo/src/iwinfo_nl80211.c
patch
|
blob
|
history
diff --git
a/contrib/package/iwinfo/src/iwinfo_nl80211.c
b/contrib/package/iwinfo/src/iwinfo_nl80211.c
index da8d5bbe2859b950c0e0bd9aa77a27ac830738e8..a27ed02e19ac0c476a005544cc558cb7bb412a9e 100644
(file)
--- a/
contrib/package/iwinfo/src/iwinfo_nl80211.c
+++ b/
contrib/package/iwinfo/src/iwinfo_nl80211.c
@@
-1028,7
+1028,7
@@
int nl80211_get_encryption(const char *ifname, char *buf)
}
c->group_ciphers = c->pair_ciphers;
- c->enabled = (c->
auth_algs || c->auth_suite
s) ? 1 : 0;
+ c->enabled = (c->
wpa_version || c->pair_cipher
s) ? 1 : 0;
return 0;
}