Re-add network to supplicant when EAP password changes

Update WifiConfigurationUtil#isSameNetwork to check changes in
EAP password.  So that the network parameters in wpa_supplicant
will get reloaded when the EAP password changed.

Change-Id: Iec2e2a3ef983609492f5f774fafd8931cf46b269
Signed-off-by: zhouzhijie <zhouzhijie@xiaomi.com>
diff --git a/service/java/com/android/server/wifi/WifiConfigurationUtil.java b/service/java/com/android/server/wifi/WifiConfigurationUtil.java
index dadc8a4..d1afeb2 100644
--- a/service/java/com/android/server/wifi/WifiConfigurationUtil.java
+++ b/service/java/com/android/server/wifi/WifiConfigurationUtil.java
@@ -199,6 +199,10 @@
                                          newEnterpriseConfig.getAnonymousIdentity())) {
                 return true;
             }
+            if (!TextUtils.equals(existingEnterpriseConfig.getPassword(),
+                                    newEnterpriseConfig.getPassword())) {
+                return true;
+            }
             X509Certificate[] existingCaCerts = existingEnterpriseConfig.getCaCertificates();
             X509Certificate[] newCaCerts = newEnterpriseConfig.getCaCertificates();
             if (!Arrays.equals(existingCaCerts, newCaCerts)) {