iwlwifi: mvm: allow reading UMAC error data from SMEM in A000 devices

Currently, UMAC error data reading is restricted to DCCM.
A000 NICs use SMEM for this data.

Signed-off-by: Beni Lev <beni.lev@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
Beni Lev 2017-09-28 12:10:55 +03:00 committed by Luca Coelho
parent 76f4a85e1d
commit 0e1be40a45

View file

@ -459,7 +459,8 @@ static void iwl_mvm_dump_umac_error_log(struct iwl_mvm *mvm)
base = mvm->umac_error_event_table;
if (base < 0x800000) {
if (base < (mvm->trans->cfg->device_family == IWL_DEVICE_FAMILY_A000 ?
0x400000 : 0x800000)) {
IWL_ERR(mvm,
"Not valid error log pointer 0x%08X for %s uCode\n",
base,