lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250502200424.3492403-1-olek2@wp.pl>
Date: Fri,  2 May 2025 22:04:24 +0200
From: Aleksander Jan Bajkowski <olek2@...pl>
To: johannes.berg@...el.com,
	linux-wireless@...r.kernel.org,
	linux-kernel@...r.kernel.org
Cc: Aleksander Jan Bajkowski <olek2@...pl>
Subject: [PATCH iw] 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 <olek2@...pl>
---
 util.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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.
 		 */
-- 
2.39.5


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ