diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2013-05-11 16:50:37 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-05-11 16:50:38 +0000 |
commit | de1361fa12cef43cc97e98321408e1c4c5e44b38 (patch) | |
tree | 32fe6432d0acef30518c13549e47a1a66f546c97 /wifi/java/android/net | |
parent | 9e2632037d3a683d2513e5e38437e00102a3076d (diff) | |
parent | e25f9d246ee1f0487d39c9cc7edbadb2d355a6e1 (diff) | |
download | frameworks_base-de1361fa12cef43cc97e98321408e1c4c5e44b38.zip frameworks_base-de1361fa12cef43cc97e98321408e1c4c5e44b38.tar.gz frameworks_base-de1361fa12cef43cc97e98321408e1c4c5e44b38.tar.bz2 |
Merge "P2P: Turn OFF PS-mode for DHCP session" into jb-mr2-dev
Diffstat (limited to 'wifi/java/android/net')
-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); |