Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afe6fdc0 authored by Mahesh A Saptasagar's avatar Mahesh A Saptasagar Committed by Linux Build Service Account
Browse files

p2p: Flush the p2p scan result on group remove event

Flush out p2p scan results on receiving group removal event.
p2p scan window will be updated on next p2p scan.

Change-Id: I3bcfed355574478bda2cac688b7df956c2701683
CRs-Fixed: 504022
(cherry picked from commit eaeecac20b125ffff8fea7a12b514999fff6bf5f)
(cherry picked from commit 3541e2cb0768865ecc312ead33f48c673e177ac3)
parent fb477de0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1778,6 +1778,7 @@ public class WifiP2pService extends IWifiP2pManager.Stub {
                    if (DBG) logd(getName() + " remove group");
                    if (mWifiNative.p2pGroupRemove(mGroup.getInterface())) {
                        transitionTo(mOngoingGroupRemovalState);
                        mWifiNative.p2pFlush();
                        replyToMessage(message, WifiP2pManager.REMOVE_GROUP_SUCCEEDED);
                    } else {
                        handleGroupRemoved();