diff options
author | John Linville <linville@tuxdriver.com> | 2015-03-31 10:49:14 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-04-01 14:44:34 -0400 |
commit | cef2fc1ce4326f7f24c3cf938b94a661fbe773e3 (patch) | |
tree | 8f195edcb9847d4c7c63dcd7109ffad658c2be33 /net/mac80211 | |
parent | 5f919abc76fc3de1e5965ea03c925f7563c7fc15 (diff) |
mac80211: reduce log spam from ieee80211_handle_pwr_constr
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>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/mlme.c | 14 |
1 files 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, | |||
1348 | */ | 1348 | */ |
1349 | if (has_80211h_pwr && | 1349 | if (has_80211h_pwr && |
1350 | (!has_cisco_pwr || pwr_level_80211h <= pwr_level_cisco)) { | 1350 | (!has_cisco_pwr || pwr_level_80211h <= pwr_level_cisco)) { |
1351 | sdata_info(sdata, | 1351 | sdata_dbg(sdata, |
1352 | "Limiting TX power to %d (%d - %d) dBm as advertised by %pM\n", | 1352 | "Limiting TX power to %d (%d - %d) dBm as advertised by %pM\n", |
1353 | pwr_level_80211h, chan_pwr, pwr_reduction_80211h, | 1353 | pwr_level_80211h, chan_pwr, pwr_reduction_80211h, |
1354 | sdata->u.mgd.bssid); | 1354 | sdata->u.mgd.bssid); |
1355 | new_ap_level = pwr_level_80211h; | 1355 | new_ap_level = pwr_level_80211h; |
1356 | } else { /* has_cisco_pwr is always true here. */ | 1356 | } else { /* has_cisco_pwr is always true here. */ |
1357 | sdata_info(sdata, | 1357 | sdata_dbg(sdata, |
1358 | "Limiting TX power to %d dBm as advertised by %pM\n", | 1358 | "Limiting TX power to %d dBm as advertised by %pM\n", |
1359 | pwr_level_cisco, sdata->u.mgd.bssid); | 1359 | pwr_level_cisco, sdata->u.mgd.bssid); |
1360 | new_ap_level = pwr_level_cisco; | 1360 | new_ap_level = pwr_level_cisco; |
1361 | } | 1361 | } |
1362 | 1362 | ||