* [PATCH] mac80211: reduce log spam from ieee80211_handle_pwr_constr
@ 2015-03-31 14:49 John W. Linville
2015-04-01 12:38 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: John W. Linville @ 2015-03-31 14:49 UTC (permalink / raw)
To: linux-wireless; +Cc: Johannes Berg, John W. Linville
This changes a couple of messages from sdata_info to sdata_dbg.
This should reduce some log spam, as reported here:
https://bugzilla.redhat.com/show_bug.cgi?id=1206468
Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
net/mac80211/mlme.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 00103f36dcbf..26053bf2faa8 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -1348,15 +1348,15 @@ static u32 ieee80211_handle_pwr_constr(struct ieee80211_sub_if_data *sdata,
*/
if (has_80211h_pwr &&
(!has_cisco_pwr || pwr_level_80211h <= pwr_level_cisco)) {
- sdata_info(sdata,
- "Limiting TX power to %d (%d - %d) dBm as advertised by %pM\n",
- pwr_level_80211h, chan_pwr, pwr_reduction_80211h,
- sdata->u.mgd.bssid);
+ sdata_dbg(sdata,
+ "Limiting TX power to %d (%d - %d) dBm as advertised by %pM\n",
+ pwr_level_80211h, chan_pwr, pwr_reduction_80211h,
+ sdata->u.mgd.bssid);
new_ap_level = pwr_level_80211h;
} else { /* has_cisco_pwr is always true here. */
- sdata_info(sdata,
- "Limiting TX power to %d dBm as advertised by %pM\n",
- pwr_level_cisco, sdata->u.mgd.bssid);
+ sdata_dbg(sdata,
+ "Limiting TX power to %d dBm as advertised by %pM\n",
+ pwr_level_cisco, sdata->u.mgd.bssid);
new_ap_level = pwr_level_cisco;
}
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mac80211: reduce log spam from ieee80211_handle_pwr_constr
2015-03-31 14:49 [PATCH] mac80211: reduce log spam from ieee80211_handle_pwr_constr John W. Linville
@ 2015-04-01 12:38 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2015-04-01 12:38 UTC (permalink / raw)
To: John W. Linville; +Cc: linux-wireless
On Tue, 2015-03-31 at 10:49 -0400, John W. Linville wrote:
> This changes a couple of messages from sdata_info to sdata_dbg.
> This should reduce some log spam, as reported here:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1206468
>
Applied, thanks.
johannes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-01 12:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-31 14:49 [PATCH] mac80211: reduce log spam from ieee80211_handle_pwr_constr John W. Linville
2015-04-01 12:38 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).