Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77a0c9d7 authored by Dmitry Shmidt's avatar Dmitry Shmidt Committed by Android Git Automerger
Browse files

am b4fd1bd7: am de1361fa: Merge "P2P: Turn OFF PS-mode for DHCP session" into jb-mr2-dev

* commit 'b4fd1bd7':
  P2P: Turn OFF PS-mode for DHCP session
parents ea47c0bd b4fd1bd7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1361,6 +1361,8 @@ public class WifiP2pService extends IWifiP2pManager.Stub {
                        mWifiNative.setP2pGroupIdle(mGroup.getInterface(), GROUP_IDLE_TIME_S);
                        mDhcpStateMachine = DhcpStateMachine.makeDhcpStateMachine(mContext,
                                P2pStateMachine.this, mGroup.getInterface());
                        // TODO: We should use DHCP state machine PRE message like WifiStateMachine
                        mWifiNative.setP2pPowerSave(mGroup.getInterface(), false);
                        mDhcpStateMachine.sendMessage(DhcpStateMachine.CMD_START_DHCP);
                        WifiP2pDevice groupOwner = mGroup.getOwner();
                        WifiP2pDevice peer = mPeers.get(groupOwner.deviceAddress);