diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2013-05-10 17:53:58 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2013-05-10 18:13:46 -0700 |
commit | e25f9d246ee1f0487d39c9cc7edbadb2d355a6e1 (patch) | |
tree | 2ca105364f0f8642537292e07574b5073e80fd90 /wifi | |
parent | 9766caedf0657615f739d4e441ab9f2fa71aa709 (diff) | |
download | frameworks_base-e25f9d246ee1f0487d39c9cc7edbadb2d355a6e1.zip frameworks_base-e25f9d246ee1f0487d39c9cc7edbadb2d355a6e1.tar.gz frameworks_base-e25f9d246ee1f0487d39c9cc7edbadb2d355a6e1.tar.bz2 |
P2P: Turn OFF PS-mode for DHCP session
Bug: 8494584
Change-Id: I1d7519a40342538ab31ccad6210e47b3622ae31e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'wifi')
-rw-r--r-- | wifi/java/android/net/wifi/p2p/WifiP2pService.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/p2p/WifiP2pService.java b/wifi/java/android/net/wifi/p2p/WifiP2pService.java index 447ddb0..f700e67 100644 --- a/wifi/java/android/net/wifi/p2p/WifiP2pService.java +++ b/wifi/java/android/net/wifi/p2p/WifiP2pService.java @@ -1356,6 +1356,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); |