iwlwifi: Do not request unreleased firmware for IWL6000
authorBen Hutchings <ben@decadent.org.uk>
Sat, 26 Nov 2022 15:06:48 +0000 (15:06 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 26 Nov 2022 15:06:48 +0000 (15:06 +0000)
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 20929e59c2f4d20022e24a5099254f55afda98e8..f9f9a0a9717773fa7cc2cb5f245b3337097c580e 100644 (file)
@@ -12,7 +12,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