]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
iw: scan: rename OWE Transition parsing function
authorAlex Gavin <a_gavin@icloud.com>
Mon, 16 Mar 2026 05:16:45 +0000 (22:16 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 Mar 2026 10:27:45 +0000 (11:27 +0100)
Signed-off-by: Alex Gavin <a_gavin@icloud.com>
Link: https://patch.msgid.link/20260316051646.18303-1-a_gavin@icloud.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
scan.c

diff --git a/scan.c b/scan.c
index facb503508769ce19885ed7d2b8b087682762e25..4d3284e82535d8332d0b5afa9c831623f135ba09 100644 (file)
--- a/scan.c
+++ b/scan.c
@@ -2311,7 +2311,7 @@ static inline void print_hs20_ind(const uint8_t type, uint8_t len,
                printf("\t\tUnexpected length: %i\n", len);
 }
 
-static void print_wifi_owe_tarns(const uint8_t type, uint8_t len,
+static void print_wifi_owe_trans(const uint8_t type, uint8_t len,
                                 const uint8_t *data,
                                 const struct ie_context *ctx)
 {
@@ -2343,7 +2343,7 @@ static const struct ie_print wfa_printers[] = {
        [9] = { "P2P", print_p2p, 2, 255, BIT(PRINT_SCAN), },
        [16] = { "HotSpot 2.0 Indication", print_hs20_ind, 1, 255, BIT(PRINT_SCAN), },
        [18] = { "HotSpot 2.0 OSEN", print_wifi_osen, 1, 255, BIT(PRINT_SCAN), },
-       [28] = { "OWE Transition Mode", print_wifi_owe_tarns, 7, 255, BIT(PRINT_SCAN), },
+       [28] = { "OWE Transition Mode", print_wifi_owe_trans, 7, 255, BIT(PRINT_SCAN), },
 };
 
 static void print_vendor(unsigned char len, unsigned char *data,