mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
tools/ios_convert: Use tag instead of text for IsHotspot
The IsHotspot key just contains a tag after it (true/false), not a tag with inner text.
This commit is contained in:
parent
54a5791195
commit
b05689fc81
@ -44,7 +44,7 @@ def process_payload_array(parray):
|
||||
network.nai_realms.append(nai_array[i].text)
|
||||
continue
|
||||
elif parray[l].text == "IsHotspot":
|
||||
if parray[l + 1].text == "True":
|
||||
if parray[l + 1].tag.lower() == "true":
|
||||
network.is_hotspot = True
|
||||
else:
|
||||
network.is_hotspot = False
|
||||
|
Loading…
Reference in New Issue
Block a user