diff options
-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; |