]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iwlwifi: Fix firmware name maximum length definition
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Wed, 6 Apr 2016 07:45:05 +0000 (10:45 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 10 May 2016 19:32:10 +0000 (22:32 +0300)
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>
drivers/net/wireless/intel/iwlwifi/iwl-drv.c

index c9f0e0b2767619f3039b97e911ab1c12ad3afd2e..82434c531776c70f447473a801b173ac742563cc 100644 (file)
@@ -117,7 +117,7 @@ struct iwl_drv {
        const struct iwl_cfg *cfg;
 
        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;