mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
auto-t: wpas.py: allow arbitrary events to be handled
If an event is in response to some command which is returning an unexpected value (unexpected with respect to wpas.py) handle_eow would raise an exception. Specifically with DPP this was being hit when the URI was being returned.
This commit is contained in:
parent
50a546705e
commit
69c1a1ba7c
@ -88,8 +88,6 @@ class Wpas:
|
||||
def handle_eow():
|
||||
nonlocal key, value, count, event
|
||||
if count == 0:
|
||||
if key is not None or not value:
|
||||
raise Exception('Bad event name')
|
||||
key = 'event'
|
||||
elif key is None:
|
||||
if not value:
|
||||
|
Loading…
Reference in New Issue
Block a user