Increase GO idle time out to 5 seconds

This is needed to work well with cavium dongle and 2 seconds
was too aggressive to let a client scan and connect.

Change-Id: Id3f1e3711333365c1e90827fb92675fd5dbc49da
This commit is contained in:
Irfan Sheriff
2012-09-14 15:04:36 -07:00
parent fd2ccaffc7
commit a149edf438

View File

@@ -135,7 +135,7 @@ public class WifiP2pService extends IWifiP2pManager.Stub {
private static final int DISCOVER_TIMEOUT_S = 120;
/* Idle time after a peer is gone when the group is torn down */
private static final int GROUP_IDLE_TIME_S = 2;
private static final int GROUP_IDLE_TIME_S = 5;
/**
* Delay between restarts upon failure to setup connection with supplicant