projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f6e4f9
)
libertas_tf: lower the debug level of command trace
author
Lubomir Rintel
<lkundrak@v3.sk>
Sun, 10 Feb 2019 19:47:35 +0000
(20:47 +0100)
committer
Kalle Valo
<kvalo@codeaurora.org>
Tue, 19 Feb 2019 15:10:00 +0000
(17:10 +0200)
Logging each and every command response is way too much for INFO level.
Silence this, unless CONFIG_LIBERTAS_THINFIRM_DEBUG has been enabled.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Steve deRosier <derosier@cal-sierra.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/libertas_tf/cmd.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/marvell/libertas_tf/cmd.c
b/drivers/net/wireless/marvell/libertas_tf/cmd.c
index 909ac3685010f116d160063a5e95ebcb2f34f358..64b147dd2432b54a0fd3a45e9fa1c8484ce1fa46 100644
(file)
--- a/
drivers/net/wireless/marvell/libertas_tf/cmd.c
+++ b/
drivers/net/wireless/marvell/libertas_tf/cmd.c
@@
-737,10
+737,9
@@
int lbtf_process_rx_command(struct lbtf_private *priv)
respcmd = le16_to_cpu(resp->command);
result = le16_to_cpu(resp->result);
- if (net_ratelimit())
- pr_info("libertastf: cmd response 0x%04x, seq %d, size %d\n",
- respcmd, le16_to_cpu(resp->seqnum),
- le16_to_cpu(resp->size));
+ lbtf_deb_cmd("libertastf: cmd response 0x%04x, seq %d, size %d\n",
+ respcmd, le16_to_cpu(resp->seqnum),
+ le16_to_cpu(resp->size));
if (resp->seqnum != priv->cur_cmd->cmdbuf->seqnum) {
spin_unlock_irqrestore(&priv->driver_lock, flags);