diff options
author | c_rrajiv <rrajiv@codeaurora.org> | 2016-01-14 17:23:01 +0530 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-06-24 11:28:49 -1000 |
commit | faada83cd0cdc39fc805bc0ff5d67ac070802a0a (patch) | |
tree | 722a7a5006757bd8f61ad374c6500ae621f106da | |
parent | cbe286e03ebf995b90f5f7323f50b30747294de8 (diff) | |
download | frameworks_opt_net_wifi-faada83cd0cdc39fc805bc0ff5d67ac070802a0a.tar.gz frameworks_opt_net_wifi-faada83cd0cdc39fc805bc0ff5d67ac070802a0a.tar.bz2 frameworks_opt_net_wifi-faada83cd0cdc39fc805bc0ff5d67ac070802a0a.zip |
P2P: p2p flush on a group remove event.
On a group removal, the devise shall not be able to detect
the peer with which the group was formed earlier, as the
supplicant shall not give the P2P_DEV_FOUND indication for
an already reported one. Hence,do a p2p_flush to have a
better user experience in finding the p2p devices.
This will get the device list entries in the framework in
sync with the suplicant peer device list.
CRs-Fixed: 962240
Change-Id: I13130f61120f7e9bd41824387364ca15535ea471
-rw-r--r-- | service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java b/service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java index ff814cd..2e86c3f 100644 --- a/service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java +++ b/service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java @@ -2047,6 +2047,7 @@ public final class WifiP2pServiceImpl extends IWifiP2pManager.Stub { */ enableBTCoex(); handleGroupRemoved(); + mWifiNative.p2pFlush(); transitionTo(mInactiveState); break; case WifiMonitor.P2P_DEVICE_LOST_EVENT: |