|
@@ -646,7 +646,7 @@ class WpaSupplicant:
|
|
except:
|
|
except:
|
|
pass
|
|
pass
|
|
self.gctrl_mon = None
|
|
self.gctrl_mon = None
|
|
- ev = self.wait_event(["P2P-GROUP-REMOVED"], timeout=3)
|
|
|
|
|
|
+ ev = self.wait_global_event(["P2P-GROUP-REMOVED"], timeout=3)
|
|
if ev is None:
|
|
if ev is None:
|
|
raise Exception("Group removal event timed out")
|
|
raise Exception("Group removal event timed out")
|
|
if "reason=GO_ENDING_SESSION" not in ev:
|
|
if "reason=GO_ENDING_SESSION" not in ev:
|