summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorIrfan Sheriff <isheriff@google.com>2012-09-14 15:04:36 -0700
committerIrfan Sheriff <isheriff@google.com>2012-09-14 15:04:36 -0700
commita149edf4385aa8eeca6fa49402487f03d38c2bdd (patch)
treea1cd0234c70fbcf5dbd9de7aa17f25bc87c5842d /wifi
parentfd2ccaffc7bb9e3b735438c461902cbeab759ace (diff)
downloadframeworks_base-a149edf4385aa8eeca6fa49402487f03d38c2bdd.zip
frameworks_base-a149edf4385aa8eeca6fa49402487f03d38c2bdd.tar.gz
frameworks_base-a149edf4385aa8eeca6fa49402487f03d38c2bdd.tar.bz2
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
Diffstat (limited to 'wifi')
-rw-r--r--wifi/java/android/net/wifi/p2p/WifiP2pService.java2
1 files changed, 1 insertions, 1 deletions
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