mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
libertas_tf: lower the debug level of command trace
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>
This commit is contained in:
parent
6f6e4f98ee
commit
744972b2c4
1 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue