mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
Fix spelling of "unexpected" in messages
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
d720de929f
commit
0747432efd
@ -1116,7 +1116,7 @@ def test_rrm_beacon_req_table_bssid(dev, apdev):
|
|||||||
report = BeaconReport(binascii.unhexlify(fields[4]))
|
report = BeaconReport(binascii.unhexlify(fields[4]))
|
||||||
logger.info("Received beacon report: " + str(report))
|
logger.info("Received beacon report: " + str(report))
|
||||||
if "bssid=" + bssid2 not in str(report):
|
if "bssid=" + bssid2 not in str(report):
|
||||||
raise Exception("Report for unexpect BSS")
|
raise Exception("Report for unexpected BSS")
|
||||||
ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.1)
|
ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.1)
|
||||||
if ev is not None:
|
if ev is not None:
|
||||||
raise Exception("Unexpected beacon report response")
|
raise Exception("Unexpected beacon report response")
|
||||||
@ -1140,7 +1140,7 @@ def test_rrm_beacon_req_table_ssid(dev, apdev):
|
|||||||
report = BeaconReport(binascii.unhexlify(fields[4]))
|
report = BeaconReport(binascii.unhexlify(fields[4]))
|
||||||
logger.info("Received beacon report: " + str(report))
|
logger.info("Received beacon report: " + str(report))
|
||||||
if "bssid=" + bssid2 not in str(report):
|
if "bssid=" + bssid2 not in str(report):
|
||||||
raise Exception("Report for unexpect BSS")
|
raise Exception("Report for unexpected BSS")
|
||||||
ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.1)
|
ev = hapd.wait_event(["BEACON-RESP-RX"], timeout=0.1)
|
||||||
if ev is not None:
|
if ev is not None:
|
||||||
raise Exception("Unexpected beacon report response")
|
raise Exception("Unexpected beacon report response")
|
||||||
|
@ -9342,7 +9342,7 @@ static void wpas_data_test_rx(void *ctx, const u8 *src_addr, const u8 *buf,
|
|||||||
|
|
||||||
if (ip.ip_hl != 5 || ip.ip_v != 4 || ntohs(ip.ip_len) > HWSIM_IP_LEN) {
|
if (ip.ip_hl != 5 || ip.ip_v != 4 || ntohs(ip.ip_len) > HWSIM_IP_LEN) {
|
||||||
wpa_printf(MSG_DEBUG,
|
wpa_printf(MSG_DEBUG,
|
||||||
"test data: RX - ignore unexpect IP header");
|
"test data: RX - ignore unexpected IP header");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user