Skip to content

Commit

Permalink
Reduce default logging in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Tristan Pateloup authored and Tristan Pateloup committed Jul 11, 2017
1 parent fe55035 commit 13a9bfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ath10k/mac.c
Expand Up @@ -2329,7 +2329,7 @@ static void ath10k_peer_assoc_h_rate_overrides(struct ath10k *ar,
ratemask = arvif->bitrate_mask.control[band].legacy;
rates = sband->bitrates;

ath10k_warn(ar, "band: %d ratemask: 0x%x hw-nss: %d dev-id: 0x%x\n",
ath10k_dbg(ar, ATH10K_DBG_MAC2, "band: %d ratemask: 0x%x hw-nss: %d dev-id: 0x%x\n",
band, ratemask, hw_nss, ar->dev_id);

arg->has_rate_overrides = true;
Expand Down
4 changes: 2 additions & 2 deletions ath10k/txrx.c
Expand Up @@ -320,7 +320,7 @@ void ath10k_peer_map_event(struct ath10k_htt *htt,
wake_up(&ar->peer_mapping_wq);
}

ath10k_warn(ar, /*ATH10K_DBG_HTT,*/ "htt peer map vdev %d peer %pM id %d\n",
ath10k_dbg(ar, ATH10K_DBG_HTT, "htt peer map vdev %d peer %pM id %d\n",
ev->vdev_id, ev->addr, ev->peer_id);

WARN_ON(ar->peer_map[ev->peer_id] && (ar->peer_map[ev->peer_id] != peer));
Expand Down Expand Up @@ -352,7 +352,7 @@ void ath10k_peer_unmap_event(struct ath10k_htt *htt,
goto exit;
}

ath10k_warn(ar, /*ATH10K_DBG_HTT,*/ "removing peer, htt peer unmap vdev %d peer %pM id %d\n",
ath10k_dbg(ar, ATH10K_DBG_HTT, "removing peer, htt peer unmap vdev %d peer %pM id %d\n",
peer->vdev_id, peer->addr, ev->peer_id);

ar->peer_map[ev->peer_id] = NULL;
Expand Down

0 comments on commit 13a9bfd

Please sign in to comment.