This wait for a specific event is needed to allow a new DPP-PB-STATUS
event to be added at the start of the PB operation.
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
raise Exception("Failed to press push button on the AP")
if "OK" not in dev[0].request("DPP_PUSH_BUTTON"):
raise Exception("Failed to press push button on the station")
- ev = dev[0].wait_event(["DPP-PB-STATUS"], timeout=30)
+ ev = dev[0].wait_event(["DPP-PB-STATUS discovered"], timeout=30)
if ev is None:
raise Exception("Push button status not reported on station")
# Force bootstrap key change since both instances share the same global
def dpp_ap_pb_overlap(hapd, hapd2, dev0):
if "OK" not in hapd.request("DPP_PUSH_BUTTON"):
raise Exception("Failed to press push button on the AP")
- ev = dev0.wait_event(["DPP-PB-STATUS"], timeout=30)
+ ev = dev0.wait_event(["DPP-PB-STATUS discovered"], timeout=30)
if ev is None:
raise Exception("Push button status not reported on station")
# Force bootstrap key change since both instances share the same global