diff options
author | Peter Qiu <zqiu@google.com> | 2017-03-23 16:10:57 -0700 |
---|---|---|
committer | Peter Qiu <zqiu@google.com> | 2017-03-29 10:25:56 -0700 |
commit | 2aa7cc7c13207c3afa3ef428ec1c8cdc1893c50c (patch) | |
tree | 89cf6ad66987cf1f0b8a9a3fc7cf874b8b7b15fd /service | |
parent | bb2fdf553e6580923e1dc3e6ac90ca777c5d7226 (diff) |
hotspot2: set domain_suffix_match for Passpoint network
This is needed to be compliant with the Hotspot 2.0 spec,
was missed during the refactoring.
Bug: 36569007
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: Verify Passpoint network connections
Change-Id: Idf1c5ac565d48a38f87f2e2aba824c7cab8c9e9a
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/hotspot2/PasspointProvider.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/hotspot2/PasspointProvider.java b/service/java/com/android/server/wifi/hotspot2/PasspointProvider.java index 1f3b9bbd8..df4303c29 100644 --- a/service/java/com/android/server/wifi/hotspot2/PasspointProvider.java +++ b/service/java/com/android/server/wifi/hotspot2/PasspointProvider.java @@ -280,6 +280,7 @@ public class PasspointProvider { WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); enterpriseConfig.setRealm(mConfig.getCredential().getRealm()); + enterpriseConfig.setDomainSuffixMatch(mConfig.getHomeSp().getFqdn()); if (mConfig.getCredential().getUserCredential() != null) { buildEnterpriseConfigForUserCredential(enterpriseConfig, mConfig.getCredential().getUserCredential()); |