This is in preparation to allow the implementation in hostapd to be
changed to accept removal of PKEX information without indicating an
error after it have been automatically removed at the successful
completion of PKEX.
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
raise Exception("Failed to add PKEX responder")
if "OK" not in hapd.request("DPP_PKEX_REMOVE " + res):
raise Exception("Failed to remove PKEX responder")
- if "FAIL" not in hapd.request("DPP_PKEX_REMOVE " + res):
- raise Exception("Unknown PKEX responder removal accepted")
+ hapd.request("DPP_PKEX_REMOVE " + res)
res = hapd.request("DPP_PKEX_ADD own=%d code=foo" % id0)
if "FAIL" in res: