summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorchocobo@chromium.org <chocobo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-18 22:33:01 +0000
committerchocobo@chromium.org <chocobo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-18 22:33:01 +0000
commit22e0d4bfb1fba9d58b6412e55a5909be70dd958f (patch)
tree16c3dcd49faaa7bb60658fea22f52c807dadd24d /chrome/browser
parentaf25ae9e771cc8e660dfa6603ef833a481498c30 (diff)
downloadchromium_src-22e0d4bfb1fba9d58b6412e55a5909be70dd958f.zip
chromium_src-22e0d4bfb1fba9d58b6412e55a5909be70dd958f.tar.gz
chromium_src-22e0d4bfb1fba9d58b6412e55a5909be70dd958f.tar.bz2
Fix so that encrypted networks are marked as such.
BUG=none TEST=After connecting to a secure network, the network still shows up as secure. (lock icon is still there) Review URL: http://codereview.chromium.org/1128003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42011 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/chromeos/cros/network_library.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/cros/network_library.h b/chrome/browser/chromeos/cros/network_library.h
index 16bed76..a4aaebe 100644
--- a/chrome/browser/chromeos/cros/network_library.h
+++ b/chrome/browser/chromeos/cros/network_library.h
@@ -42,7 +42,7 @@ struct WifiNetwork {
: service_path(service.service_path),
device_path(service.device_path),
ssid(service.name),
- encrypted(service.passphrase_required),
+ encrypted(service.security != SECURITY_NONE),
encryption(service.security),
passphrase(service.passphrase),
strength(service.strength),