diff options
author | Irfan Sheriff <isheriff@google.com> | 2011-08-29 17:01:33 -0700 |
---|---|---|
committer | Irfan Sheriff <isheriff@google.com> | 2011-08-31 10:17:24 -0700 |
commit | f9cb1d7082870d9fc5f90290e717065441f611ac (patch) | |
tree | 87f059f273fcf7d3ee3230cc608e85f5916b37ce /wifi/java/android | |
parent | d56b3c952469a63aa9d4fc860be24b80a4b0e3b6 (diff) | |
download | frameworks_base-f9cb1d7082870d9fc5f90290e717065441f611ac.zip frameworks_base-f9cb1d7082870d9fc5f90290e717065441f611ac.tar.gz frameworks_base-f9cb1d7082870d9fc5f90290e717065441f611ac.tar.bz2 |
Remove persistent behavior
Until we figure out a good way to do it from both group owner
and client, remove persistent behavior
Bug: 5241839
Change-Id: I31bda672edaa17e6a500f185b6b879dcfdbd069d
Diffstat (limited to 'wifi/java/android')
-rw-r--r-- | wifi/java/android/net/wifi/WifiNative.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wifi/java/android/net/wifi/WifiNative.java b/wifi/java/android/net/wifi/WifiNative.java index 8d327d0..783c5a3 100644 --- a/wifi/java/android/net/wifi/WifiNative.java +++ b/wifi/java/android/net/wifi/WifiNative.java @@ -271,8 +271,11 @@ public class WifiNative { break; } + //TODO: Add persist behavior once the supplicant interaction is fixed for both + // group and client scenarios /* Persist unless there is an explicit request to not do so*/ - if (config.persist != WifiP2pConfig.Persist.NO) args.add("persistent"); + //if (config.persist != WifiP2pConfig.Persist.NO) args.add("persistent"); + if (joinExistingGroup) args.add("join"); int groupOwnerIntent = config.groupOwnerIntent; |