luci-0.10: merge r7897

This commit is contained in:
Jo-Philipp Wich 2011-11-08 14:06:49 +00:00
parent 5883b736f2
commit 5e70d90eb6

View file

@ -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;
}