iwlwifi: allow error table address new range
authorSara Sharon <sara.sharon@intel.com>
Thu, 8 Sep 2016 07:44:38 +0000 (10:44 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 26 Sep 2016 20:15:25 +0000 (23:15 +0300)
The firmware has a new smart linker, and this table can now be
in ICCM or in SMEM. It is not hardcoded, but depends on code
size. Allow the full range.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/utils.c

index 9e366e2..d04babd 100644 (file)
@@ -512,7 +512,7 @@ void iwl_mvm_dump_nic_error_log(struct iwl_mvm *mvm)
                        base = mvm->fw->inst_errlog_ptr;
        }
 
-       if (base < 0x800000) {
+       if (base < 0x400000) {
                IWL_ERR(mvm,
                        "Not valid error log pointer 0x%08X for %s uCode\n",
                        base,