iwlwifi: Do not request unreleased firmware for IWL6000
authorBen Hutchings <ben@decadent.org.uk>
Wed, 16 Aug 2023 20:52:03 +0000 (21:52 +0100)
committerSalvatore Bonaccorso <carnil@debian.org>
Wed, 16 Aug 2023 20:52:03 +0000 (21:52 +0100)
Bug-Debian: https://bugs.debian.org/689416
Forwarded: not-needed

The iwlwifi driver currently supports firmware API versions 4-6 for
these devices.  It will request the file for the latest supported
version and then fall back to earlier versions.  However, the latest
version that has actually been released is 4, so we expect the
requests for versions 6 and then 5 to fail.

The installer appears to report any failed request, and it is probably
not easy to detect that this particular failure is harmless.  So stop
requesting the unreleased firmware.

Gbp-Pq: Topic debian
Gbp-Pq: Name iwlwifi-do-not-request-unreleased-firmware.patch

drivers/net/wireless/intel/iwlwifi/cfg/6000.c

index b4a8a6804c3972dc9ed127d76809fa056453f333..e63e122e51550c850e182563e18a723a9079bcbb 100644 (file)
@@ -17,7 +17,7 @@
 #include "dvm/commands.h" /* needed for BT for now */
 
 /* Highest firmware API version supported */
-#define IWL6000_UCODE_API_MAX 6
+#define IWL6000_UCODE_API_MAX 4 /* v5-6 are supported but not released */
 #define IWL6050_UCODE_API_MAX 5
 #define IWL6000G2_UCODE_API_MAX 6
 #define IWL6035_UCODE_API_MAX 6