Skip to content

Commit 2c2ca5c

Browse files
committed
Increase WFD connect time out to 60s
The worst case WPS timeout for GO negotiation is two minutes. Until, we better handle cancelling/disconnecting and re-syncing the WFD framework with the wifi direct framework/supplicant, increase the time out to 60s to help with dogfood Bug: 7217600 Change-Id: I1ba0d9963b957454e2c6f47bfdf05176dea07be7
1 parent d36adc3 commit 2c2ca5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/java/com/android/server/display/WifiDisplayController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ final class WifiDisplayController implements DumpUtils.Dump {
7373

7474
private static final int DEFAULT_CONTROL_PORT = 7236;
7575
private static final int MAX_THROUGHPUT = 50;
76-
private static final int CONNECTION_TIMEOUT_SECONDS = 30;
76+
private static final int CONNECTION_TIMEOUT_SECONDS = 60;
7777
private static final int RTSP_TIMEOUT_SECONDS = 15;
7878

7979
private static final int DISCOVER_PEERS_MAX_RETRIES = 10;

0 commit comments

Comments
 (0)