]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 15 Jan 2021 11:05:55 +0000 (13:05 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 25 Jan 2021 13:53:04 +0000 (15:53 +0200)
commit1d0107903d4defe5c44e639e42af1432b04f909a
tree41e16077df9d1730265bf0a4987117b8f45e7922
parent7a8b8ab5a5fd5060d53c3b8be385a91359d10b99
iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap

I hit a NULL pointer exception in this function when the
init flow went really bad.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20210115130252.2e8da9f2c132.I0234d4b8ddaf70aaa5028a20c863255e05bc1f84@changeid
drivers/net/wireless/intel/iwlwifi/pcie/tx.c