]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
util: rename hz to Hz vol 2
authorAleksander Jan Bajkowski <olek2@wp.pl>
Fri, 2 May 2025 20:04:24 +0000 (22:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 6 May 2025 18:59:46 +0000 (20:59 +0200)
In most places, the Hz unit is used. This commit changes
hz to Hz in other places.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Link: https://patch.msgid.link/20250502200424.3492403-1-olek2@wp.pl
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
util.c

diff --git a/util.c b/util.c
index c6d59749d2d4c0a9613510d5de2568e4819ab4f6..1ebb19e5bf47b5ade54ba7a2ceba3b17587423bf 100644 (file)
--- a/util.c
+++ b/util.c
@@ -1630,7 +1630,7 @@ static void __print_eht_capa(int band,
            !(he_phy_cap[0] & ((BIT(1) | BIT(2) | BIT(3) | BIT(4)) << 8))) {
                static const char * const mcs[] = { "0-7", "8-9", "10-11", "12-13" };
 
-               printf("%s\t\tEHT-MCS Map (20 Mhz Non-AP STA) (0x", pre);
+               printf("%s\t\tEHT-MCS Map (20 MHz Non-AP STA) (0x", pre);
                for (i = 0; i < mcs_len; i++)
                        printf("%02x", ((__u8 *)mcs_set)[i]);
                printf("):\n");
@@ -1644,8 +1644,8 @@ static void __print_eht_capa(int band,
        } else {
                static const char * const mcs[] = { "0-9", "10-11", "12-13"};
 
-               /* Bit 1 corresponds to 2.4Ghz 40Mhz support
-                * Bit 2 corresponds to 5/6Ghz 40 and 80Mhz support
+               /* Bit 1 corresponds to 2.4GHz 40MHz support
+                * Bit 2 corresponds to 5/6GHz 40 and 80MHz support
                 * If no Channel Width bits are set, but we are an AP, we use
                 * this MCS logic also.
                 */