summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2013-04-15 15:26:01 -0700
committerIrfan Sheriff <isheriff@google.com>2013-04-15 22:36:45 +0000
commit0b132962e4e324ca3b37f845d0792226d4f94d27 (patch)
treeeca48a40990935fa05b78d2459a4cca9cdf793f5 /wifi
parent7e157f321c690e41f0f18a556f989fd20709469f (diff)
downloadframeworks_base-0b132962e4e324ca3b37f845d0792226d4f94d27.zip
frameworks_base-0b132962e4e324ca3b37f845d0792226d4f94d27.tar.gz
frameworks_base-0b132962e4e324ca3b37f845d0792226d4f94d27.tar.bz2
Fix CTS failure due to invalid EAP update
Update EAP only when it has valid entry Bug: 8604987 Change-Id: Ib6b10bd06c26ee91c4ecd3a231b509d728725dfc
Diffstat (limited to 'wifi')
-rw-r--r--wifi/java/android/net/wifi/WifiConfigStore.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/wifi/java/android/net/wifi/WifiConfigStore.java b/wifi/java/android/net/wifi/WifiConfigStore.java
index d3d5b1b..23a4e71 100644
--- a/wifi/java/android/net/wifi/WifiConfigStore.java
+++ b/wifi/java/android/net/wifi/WifiConfigStore.java
@@ -1111,7 +1111,8 @@ class WifiConfigStore {
break setVariables;
}
- if (config.enterpriseConfig != null) {
+ if (config.enterpriseConfig != null &&
+ config.enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE) {
WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig;