iwlwifi: mvm: disable dbg data collect when fw isn't alive
authorLiad Kaufman <liad.kaufman@intel.com>
Thu, 23 Mar 2017 09:08:59 +0000 (11:08 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 22 Jun 2017 21:12:59 +0000 (00:12 +0300)
commitf45f979dc208c96bb13a229381be2c1e4bf3afb3
treee7f01b5caed1224e91ff1623756ca496b4383647
parent0ec971fdaddfcab72e5104e35774f489991f1f68
iwlwifi: mvm: disable dbg data collect when fw isn't alive

If FW isn't alive, trying to collect debug data will
result in errors both in driver and in the collected
data, so just warn and leave the collecting function
in this case.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw-dbg.c