summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/iwl-1000.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2016-04-12 13:07:52 +0300
committerLuca Coelho <luciano.coelho@intel.com>2016-05-10 22:34:05 +0300
commit39654cb3a6a2a04bb055e62e8ece16d611c2e517 (patch)
tree3519066b52f8f4f4814dc2a147abcdab1a0ecb2e /drivers/net/wireless/intel/iwlwifi/iwl-1000.c
parent75094dc8487935a0d95b78b7d21804805fc3a3be (diff)
downloadlinux-39654cb3a6a2a04bb055e62e8ece16d611c2e517.tar.xz
iwlwifi: don't access a nonexistent register upon assert
The commit below added code to dump the content of FIFOs that are present only on dual CPU products (8000 and up). This broke 7265D whose firmware does advertise IWL_UCODE_TLV_CAPA_EXTEND_SHARED_MEM_CFG but doesn't have 2 CPUs. The current code does check the length of the FIFO before dumping them (and the nonexistent FIFO has a 0 length), but we still accessed a register to set the FIFO number and that made the DMA unhappy. The impact was a much longer recovery upon firmware assert. Fixes: 5b086414293f ("iwlwifi: mvm: support dumping UMAC internal txfifos") Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-1000.c')
0 files changed, 0 insertions, 0 deletions