File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
wifi/java/android/net/wifi/p2p Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1231,10 +1231,17 @@ public boolean processMessage(Message message) {
12311231 mGroup .getNetworkName ()));
12321232 }
12331233
1234- mWifiNative .setP2pGroupIdle (mGroup .getInterface (), GROUP_IDLE_TIME_S );
12351234 if (mGroup .isGroupOwner ()) {
1235+ /* Setting an idle time out on GO causes issues with certain scenarios
1236+ * on clients where it can be off-channel for longer and with the power
1237+ * save modes used.
1238+ *
1239+ * TODO: Verify multi-channel scenarios and supplicant behavior are
1240+ * better before adding a time out in future
1241+ */
12361242 startDhcpServer (mGroup .getInterface ());
12371243 } else {
1244+ mWifiNative .setP2pGroupIdle (mGroup .getInterface (), GROUP_IDLE_TIME_S );
12381245 mDhcpStateMachine = DhcpStateMachine .makeDhcpStateMachine (mContext ,
12391246 P2pStateMachine .this , mGroup .getInterface ());
12401247 mDhcpStateMachine .sendMessage (DhcpStateMachine .CMD_START_DHCP );
You can’t perform that action at this time.
0 commit comments