iwlwifi: fix MODULE_FIRMWARE for 6030
authorJürg Billeter <j@bitron.ch>
Mon, 10 Oct 2016 16:30:00 +0000 (18:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 May 2017 12:00:16 +0000 (14:00 +0200)
commitd0a8075ffe0572819e19aac9110e1913cef754d4
tree698347b604d8acaf7244f84fd5740039ab3bd8d3
parent9291cabe094b2504c4d14c4ed0b77c4edfb538e7
iwlwifi: fix MODULE_FIRMWARE for 6030

commit d8320d75b59ecdc1b8e60ac793d3a54d84333a18 upstream.

IWL6000G2B_UCODE_API_MAX is not defined. ucode_api_max of
IWL_DEVICE_6030 uses IWL6000G2_UCODE_API_MAX. Use this also for
MODULE_FIRMWARE.

Fixes: 9d9b21d1b616 ("iwlwifi: remove IWL_*_UCODE_API_OK")
Signed-off-by: Jürg Billeter <j@bitron.ch>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/iwl-6000.c