From: Jo-Philipp Wich Date: Tue, 8 Nov 2011 14:06:49 +0000 (+0000) Subject: luci-0.10: merge r7897 X-Git-Tag: 0.10.0~44 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5e70d90eb63e4d6e438bc2b12bdb203e0b7b6988;p=oweals%2Fluci.git luci-0.10: merge r7897 --- diff --git a/contrib/package/iwinfo/src/iwinfo_nl80211.c b/contrib/package/iwinfo/src/iwinfo_nl80211.c index da8d5bbe2..a27ed02e1 100644 --- 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_suites) ? 1 : 0; + c->enabled = (c->wpa_version || c->pair_ciphers) ? 1 : 0; return 0; }