wifi: iwlwifi: don't load old firmware for 22000
authorJohannes Berg <johannes.berg@intel.com>
Wed, 21 Jun 2023 10:12:12 +0000 (13:12 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Jun 2023 12:07:01 +0000 (14:07 +0200)
The earliest firmware released for these products is with
API version 50, so there's no point in trying to load any
versions before that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230621130443.768186c0475d.I7de717072221712176a3085d71c8018ae0348db8@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/cfg/22000.c

index 12e809b..c496d0d 100644 (file)
@@ -13,7 +13,7 @@
 #define IWL_22000_UCODE_API_MAX        77
 
 /* Lowest firmware API version supported */
-#define IWL_22000_UCODE_API_MIN        39
+#define IWL_22000_UCODE_API_MIN        50
 
 /* NVM versions */
 #define IWL_22000_NVM_VERSION          0x0a1d