summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravanthi Palakonda <srapal@codeaurora.org>2015-07-24 16:34:53 +0530
committerLinux Build Service Account <lnxbuild@localhost>2016-08-24 08:07:55 -0600
commit70595ef23bcff9324f7d12b73c934b8e864306c2 (patch)
tree1bdc8db55fd9098f1ed2d1fcf7b53749d375d065
parente06235a27b68163bc066d425fa9d43437224b3b6 (diff)
downloadandroid_frameworks_opt_net_wifi-70595ef23bcff9324f7d12b73c934b8e864306c2.tar.gz
android_frameworks_opt_net_wifi-70595ef23bcff9324f7d12b73c934b8e864306c2.tar.bz2
android_frameworks_opt_net_wifi-70595ef23bcff9324f7d12b73c934b8e864306c2.zip
wifi: Fix for connection between GO and p2p device
When GO sends an invitation request to the p2p device without persistent profile, GO gets an invitation result=8 which means unknown group, when GO receives invitation result 8, its tries to remove persistent profile of the client but it will not be able find the profile so it does continue with sending the invitation so the connection fails. To address this, ignore if there are no persistent profiles found for the client and continue with sending the Invitation request to the client to make connection succesful connection. As GO has single profile saved unlike client which saves multiple profiles of GO CRs-Fixed: 1038636 Change-Id: I3ed1f97cebcaef2b4c0176651df84833b5846be6
-rw-r--r--service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java b/service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java
index c264ea5d9..fb428f06c 100644
--- a/service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java
+++ b/service/java/com/android/server/wifi/p2p/WifiP2pServiceImpl.java
@@ -2144,7 +2144,6 @@ public class WifiP2pServiceImpl extends IWifiP2pManager.Stub {
mSavedPeerConfig.deviceAddress, false)) {
// not found the client on the list
loge("Already removed the client, ignore");
- break;
}
// try invitation.
sendMessage(WifiP2pManager.CONNECT, mSavedPeerConfig);