summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell
diff options
context:
space:
mode:
authorStanislaw Gruszka2016-08-25 17:05:17 +0200
committerKalle Valo2016-09-03 19:03:26 +0200
commit09dd9ec598c3fdcb9874d13d9bbab0e2ece6748b (patch)
tree942d815328ccb5bb2722d503472b9621fb88eeba /drivers/net/wireless/marvell
parentmwifiex: make "PCI-E is not the winner" print more informative (diff)
downloadkernel-qcow2-linux-09dd9ec598c3fdcb9874d13d9bbab0e2ece6748b.tar.gz
kernel-qcow2-linux-09dd9ec598c3fdcb9874d13d9bbab0e2ece6748b.tar.xz
kernel-qcow2-linux-09dd9ec598c3fdcb9874d13d9bbab0e2ece6748b.zip
mwifiex: print status of FW ready event
For debugging purpose print content of reg->fw_status register and other variables values when waiting for firmware ready event. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/pcie.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.c b/drivers/net/wireless/marvell/mwifiex/pcie.c
index 8abbbfe41785..2f555b0ebf7d 100644
--- a/drivers/net/wireless/marvell/mwifiex/pcie.c
+++ b/drivers/net/wireless/marvell/mwifiex/pcie.c
@@ -2043,6 +2043,10 @@ mwifiex_check_fw_status(struct mwifiex_adapter *adapter, u32 poll_num)
ret = -1;
else
ret = 0;
+
+ mwifiex_dbg(adapter, INFO, "Try %d if FW is ready <%d,%#x>",
+ tries, ret, firmware_stat);
+
if (ret)
continue;
if (firmware_stat == FIRMWARE_READY_PCIE) {