Fix spelling of "unexpected" in messages

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2020-10-16 12:42:23 +03:00 committed by Jouni Malinen
parent d720de929f
commit 0747432efd
2 changed files with 3 additions and 3 deletions

View File

@ -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")

View File

@ -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;
} }