The last beacon report indication was set in all the beacon report
elements in the last frame of the beacon report, while it should be set
only in the last beacon report element of the last frame. This is now
fixed in wpa_supplicant, so update the test case expectation to match
the fixed behavior.
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
raise Exception("Last Beacon Report Indication subelement missing")
last = binascii.hexlify(report.last_indication).decode()
- if last != '01':
+ if (i == 2 and last != '01') or (i != 2 and last != '00'):
raise Exception("last beacon report indication is not set on last frame")
# The request does not contain the last beacon report indication subelement