From a149edf4385aa8eeca6fa49402487f03d38c2bdd Mon Sep 17 00:00:00 2001 From: Irfan Sheriff Date: Fri, 14 Sep 2012 15:04:36 -0700 Subject: 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 --- wifi/java/android/net/wifi/p2p/WifiP2pService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wifi') diff --git a/wifi/java/android/net/wifi/p2p/WifiP2pService.java b/wifi/java/android/net/wifi/p2p/WifiP2pService.java index 3575d97..edd1dac 100644 --- a/wifi/java/android/net/wifi/p2p/WifiP2pService.java +++ b/wifi/java/android/net/wifi/p2p/WifiP2pService.java @@ -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 -- cgit v1.1