From f9cb1d7082870d9fc5f90290e717065441f611ac Mon Sep 17 00:00:00 2001 From: Irfan Sheriff Date: Mon, 29 Aug 2011 17:01:33 -0700 Subject: [PATCH] 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 --- wifi/java/android/net/wifi/WifiNative.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wifi/java/android/net/wifi/WifiNative.java b/wifi/java/android/net/wifi/WifiNative.java index 8d327d01fb2f2..783c5a3e9d7fd 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;