iwlwifi: stop dbgc recording before stopping DMA
authorGolan Ben Ami <golan.ben.ami@intel.com>
Tue, 12 Sep 2017 09:32:25 +0000 (12:32 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Oct 2017 10:59:44 +0000 (13:59 +0300)
commit1efc3843a4ee1331bc20df685a79b47fa0f547d2
tree7f5748e04d93ed56a88d37cb57dd572b1bdf04eb
parentbaf41bc35f2bdb953da532645fd82009c2d12acf
iwlwifi: stop dbgc recording before stopping DMA

Today we stop the device and the DMA without stopping the dbgc
recording before. This causes host crashes when the DMA
rate is high.

Stop dbgc recording when clearing the fw debug configuration
to fix this.

Signed-off-by: Golan Ben Ami <golan.ben.ami@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
drivers/net/wireless/intel/iwlwifi/fw/dbg.h