diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2013-05-11 09:52:41 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-05-11 09:52:41 -0700 |
commit | b4fd1bd7748d2df00ec0792d3419aa79c742f979 (patch) | |
tree | c0c994ff8d8b88a6eeaf3808ef84ed62761b1746 /wifi | |
parent | c56944ed951771670e0420a1a2b94d01b701f1b3 (diff) | |
parent | de1361fa12cef43cc97e98321408e1c4c5e44b38 (diff) | |
download | frameworks_base-b4fd1bd7748d2df00ec0792d3419aa79c742f979.zip frameworks_base-b4fd1bd7748d2df00ec0792d3419aa79c742f979.tar.gz frameworks_base-b4fd1bd7748d2df00ec0792d3419aa79c742f979.tar.bz2 |
am de1361fa: Merge "P2P: Turn OFF PS-mode for DHCP session" into jb-mr2-dev
* commit 'de1361fa12cef43cc97e98321408e1c4c5e44b38':
P2P: Turn OFF PS-mode for DHCP session
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 0f7c84f..4cfc4ac 100644 --- a/wifi/java/android/net/wifi/p2p/WifiP2pService.java +++ b/wifi/java/android/net/wifi/p2p/WifiP2pService.java @@ -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); |