]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix spelling of "unexpected" in messages
authorJouni Malinen <jouni@codeaurora.org>
Fri, 16 Oct 2020 09:42:23 +0000 (12:42 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 16 Oct 2020 09:45:26 +0000 (12:45 +0300)
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_rrm.py
wpa_supplicant/ctrl_iface.c

index b9de82de577b30f16dd1bb896dba700da6c26c4b..73782c9956474183b9f9c12b30b1c880162dddce 100644 (file)
@@ -1116,7 +1116,7 @@ def test_rrm_beacon_req_table_bssid(dev, apdev):
     report = BeaconReport(binascii.unhexlify(fields[4]))
     logger.info("Received beacon report: " + 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)
     if ev is not None:
         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]))
     logger.info("Received beacon report: " + 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)
     if ev is not None:
         raise Exception("Unexpected beacon report response")
index 76a3ed618e5eccd6c25c87e2cd6983ba5fda557c..f5c65870ec373b0e1fe5ce4e85aeb8f6d21ec00c 100644 (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) {
                wpa_printf(MSG_DEBUG,
-                          "test data: RX - ignore unexpect IP header");
+                          "test data: RX - ignore unexpected IP header");
                return;
        }