iwlwifi: fix fw_pre_next_step to apply also for C step
authorHaim Dreyfuss <haim.dreyfuss@intel.com>
Sun, 9 Jul 2017 12:51:44 +0000 (15:51 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Tue, 1 Aug 2017 09:05:09 +0000 (12:05 +0300)
commite9fb92e13d5e743a6ff13d3206c0f9e5e8cbc1f4
tree27516a1cbfcf3a4a0e8bb39b0eee0b6d31a01ed1
parent87f55616f81bf6c82f0e94cf4661151399d2a7b6
iwlwifi: fix fw_pre_next_step to apply also for C step

C step NICs should use the latest FW (currently B step).
Correct the condition to make C step NICs advanced its default FW name
to the latest one.
Also rename _next_ to b_or_c to avoid confusion.

Fixes: 5da083d1922c ("iwlwifi: add support for 9000 HW B-step NICs")
Signed-off-by: Haim Dreyfuss <haim.dreyfuss@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/cfg/9000.c
drivers/net/wireless/intel/iwlwifi/iwl-config.h
drivers/net/wireless/intel/iwlwifi/iwl-drv.c