CHROMIUM: iwl7000: mvm: clear FW_RUNNING bit after debug collection

The driver clear IWL_MVM_STATUS_FIRMWARE_RUNNING bit before debug
collection wich cause the dump to abort. Solve this by collecting the
debug data before clearing the bit.

BUG=b:131908923
TEST=make sure debugging logs are collected when an error occurs
     during a FW_PAGING_BLOCK_CMD

Change-Id: I49c0b96594a81f6d8aae99c5adfc35558dad5d71
Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
iwl7000-tree: f46878a1bd35c0af65b56e2cf2ba79acbaa311f4
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1649747
Reviewed-by: Kirtika Ruchandani <kirtika@chromium.org>
Commit-Queue: Kirtika Ruchandani <kirtika@chromium.org>
Tested-by: Kirtika Ruchandani <kirtika@chromium.org>
(cherry picked from commit 6768e99cfe0514e553f4d0a2efe273f4c1d4b137)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1735711
1 file changed