Răsfoiți Sursa

iwlwifi: Fix firmware name maximum length definition

Previous patch had changed firmware name convention for
new generation product. The firmware name is now longer
than the former convention. Adapt max firmware name length
to the new convention.

Fixes: e1ba684f762b ("iwlwifi: 8000: fix MODULE_FIRMWARE input")
Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Haim Dreyfuss 9 ani în urmă
părinte
comite
0730ffb19e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      drivers/net/wireless/intel/iwlwifi/iwl-drv.c

+ 1 - 1
drivers/net/wireless/intel/iwlwifi/iwl-drv.c

@@ -117,7 +117,7 @@ struct iwl_drv {
 	const struct iwl_cfg *cfg;
 	const struct iwl_cfg *cfg;
 
 
 	int fw_index;                   /* firmware we're trying to load */
 	int fw_index;                   /* firmware we're trying to load */
-	char firmware_name[32];         /* name of firmware file to load */
+	char firmware_name[64];         /* name of firmware file to load */
 
 
 	struct completion request_firmware_complete;
 	struct completion request_firmware_complete;