Merge "Remove persistent behavior"

This commit is contained in:
Irfan Sheriff
2011-08-31 11:35:45 -07:00
committed by Android (Google) Code Review

View File

@@ -284,8 +284,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;