]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb414642da32fb0b46cf940d710c9480ce9e4702a
tree27516a1cbfcf3a4a0e8bb39b0eee0b6d31a01ed1
parentabb95b81da9f4f43e1406dc1b6bf8f852d37a5a1
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: cffd4128278d ("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