diff options
author | Neelansh Mittal <neelansh@qti.qualcomm.com> | 2014-09-30 20:51:43 +0530 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2014-11-04 08:22:53 -0700 |
commit | 5c2c2dc36f6eac60212ccaaa591ce6db2edc493e (patch) | |
tree | 9fb69889036f67d096b8d84705e59091fe9fe14e | |
parent | d49c75f596f590f48ecf49b99d0036145289ceda (diff) | |
download | android_frameworks_opt_net_wifi-5c2c2dc36f6eac60212ccaaa591ce6db2edc493e.tar.gz android_frameworks_opt_net_wifi-5c2c2dc36f6eac60212ccaaa591ce6db2edc493e.tar.bz2 android_frameworks_opt_net_wifi-5c2c2dc36f6eac60212ccaaa591ce6db2edc493e.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: 732399
Change-Id: Ic3bc19b3591001a5237538dddb42851638e2b358
-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 c15cd1502..ca13baa76 100644 --- a/service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java +++ b/service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java @@ -2011,6 +2011,7 @@ public final class WifiP2pServiceImpl extends IWifiP2pManager.Stub { case WifiMonitor.P2P_GROUP_REMOVED_EVENT: if (DBG) logd(getName() + " group removed"); handleGroupRemoved(); + mWifiNative.p2pFlush(); transitionTo(mInactiveState); break; case WifiMonitor.P2P_DEVICE_LOST_EVENT: |