Search Linux Wireless

[PATCH 1/3] qca-swiss-army-knife: remove the artificial column size limitation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It is obsolete since the SHA1 checksums are used.

Signed-off-by: Gabor Juhos <juhosg@xxxxxxxxxxx>
---
 tools/initvals/initvals.c |   14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/tools/initvals/initvals.c b/tools/initvals/initvals.c
index 6522de6..4413e04 100644
--- a/tools/initvals/initvals.c
+++ b/tools/initvals/initvals.c
@@ -449,21 +449,11 @@ static void ath9k_hw_print_initval(const char *name, const u32 *array, u32 rows,
 	u32 p_columns;
 	u32 col, row;
 
-	if (wide) {
+	if (wide)
 		p_columns = columns;
-	} else {
+	else
 		p_columns = columns > 5 ? 5 : columns;
 
-		/*
-		* This checksum stuff is designed for columns <= 8),
-		* and spreads the checksum over 64 bits but since currently
-		* the initval max column size is 6 we only use the first 48
-		* bits.
-		*/
-		if (columns > 6)
-			return;
-	}
-
 	if (onedim)
 		printf("static const u32 %s[] = {\n", name);
 	else
-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux