From: Aleksander Jan Bajkowski Date: Fri, 2 May 2025 20:04:24 +0000 (+0200) Subject: util: rename hz to Hz vol 2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7c0511b25c70754c2cf8b7db807dd4a22b290b53;p=thirdparty%2Fiw.git util: rename hz to Hz vol 2 In most places, the Hz unit is used. This commit changes hz to Hz in other places. Signed-off-by: Aleksander Jan Bajkowski Link: https://patch.msgid.link/20250502200424.3492403-1-olek2@wp.pl Signed-off-by: Johannes Berg --- diff --git a/util.c b/util.c index c6d5974..1ebb19e 100644 --- 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. */