From 5e70d90eb63e4d6e438bc2b12bdb203e0b7b6988 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 8 Nov 2011 14:06:49 +0000 Subject: [PATCH] luci-0.10: merge r7897 --- contrib/package/iwinfo/src/iwinfo_nl80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1