iwlwifi: use correct fw file in 8000 b-step
authorLiad Kaufman <liad.kaufman@intel.com>
Thu, 30 Oct 2014 12:27:13 +0000 (14:27 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 2 Dec 2014 10:35:37 +0000 (12:35 +0200)
commit977654b15714210159daf5831328327728f9ec91
tree6afd33df94ef73509edb194f3edf4a5af71345c8
parent773cb025f8e3746920b9ddb7dcdbee260ba97ecc
iwlwifi: use correct fw file in 8000 b-step

In 8000 B-step the FW file has changed, but by the time we
know the HW step, the FW file is already requested.

This patch defaults 8000 family to B-step if no HW step is
detected in time. When it can it checks what HW step it
really is (in 8000 family) and if it isn't B-step, the FW
file is released and the A-step file is requested.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-drv.c