summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/ops.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-05-31 13:19:10 +0200
committerLuca Coelho <luciano.coelho@intel.com>2017-06-29 13:26:26 +0300
commitf0fea2b728af737ec45d96a0279087a558ad9774 (patch)
tree5f466403b4b739b45ef4213ed7073521324e2e18 /drivers/net/wireless/intel/iwlwifi/mvm/ops.c
parent87fc030231b11a190f16d7162a141e2f162eae36 (diff)
downloadlinux-f0fea2b728af737ec45d96a0279087a558ad9774.tar.bz2
iwlwifi: pcie: warn if paging is already initialized during init
This appears to happen in some cases, like when iwlmvm is unloaded and loaded again without also unloading iwlwifi. Warn in this case and free the paging data to be able to continue without causing corruption and kernel crashes due to it (otherwise, paging data is overwritten, but dram->paging_cnt gets to be twice as big as it should be, and then an eventual free will crash.) Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
0 files changed, 0 insertions, 0 deletions