Loading wifi/java/android/net/wifi/p2p/WifiP2pService.java +2 −0 Original line number Diff line number Diff line Loading @@ -1745,6 +1745,8 @@ public class WifiP2pService extends IWifiP2pManager.Stub { //Ignore more client requests break; case PEER_CONNECTION_USER_ACCEPT: //Stop discovery to avoid failure due to channel switch mWifiNative.p2pStopFind(); if (mSavedPeerConfig.wps.setup == WpsInfo.PBC) { mWifiNative.startWpsPbc(mGroup.getInterface(), null); } else { Loading Loading
wifi/java/android/net/wifi/p2p/WifiP2pService.java +2 −0 Original line number Diff line number Diff line Loading @@ -1745,6 +1745,8 @@ public class WifiP2pService extends IWifiP2pManager.Stub { //Ignore more client requests break; case PEER_CONNECTION_USER_ACCEPT: //Stop discovery to avoid failure due to channel switch mWifiNative.p2pStopFind(); if (mSavedPeerConfig.wps.setup == WpsInfo.PBC) { mWifiNative.startWpsPbc(mGroup.getInterface(), null); } else { Loading