Signed-off-by: Jouni Malinen <j@w1.fi>
"wlan.fc.type_subtype == 0x0008",
["wlan.tim.bmapctl.multicast"])
for line in out.splitlines():
- buffered_mcast = int(line)
+ if line == "True":
+ buffered_mcast = 1
+ elif line == "False":
+ buffered_mcast = 0
+ else:
+ buffered_mcast = int(line)
if buffered_mcast == 1:
break
if buffered_mcast == 1:
raise Exception("second frame not observed")
state = 1
for l in lines:
- is_protected = int(l, 16)
+ if l == "True":
+ is_protected = 1
+ elif l == "False":
+ is_protected = 0
+ else:
+ is_protected = int(l, 16)
if is_protected != 1:
state = 0
if state != 1: