Skip to content

Commit cef2fc1

Browse files
linvjwjmberg-intel
authored andcommitted
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 <[email protected]> Signed-off-by: Johannes Berg <[email protected]>
1 parent 5f919ab commit cef2fc1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

net/mac80211/mlme.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,15 +1348,15 @@ static u32 ieee80211_handle_pwr_constr(struct ieee80211_sub_if_data *sdata,
13481348
*/
13491349
if (has_80211h_pwr &&
13501350
(!has_cisco_pwr || pwr_level_80211h <= pwr_level_cisco)) {
1351-
sdata_info(sdata,
1352-
"Limiting TX power to %d (%d - %d) dBm as advertised by %pM\n",
1353-
pwr_level_80211h, chan_pwr, pwr_reduction_80211h,
1354-
sdata->u.mgd.bssid);
1351+
sdata_dbg(sdata,
1352+
"Limiting TX power to %d (%d - %d) dBm as advertised by %pM\n",
1353+
pwr_level_80211h, chan_pwr, pwr_reduction_80211h,
1354+
sdata->u.mgd.bssid);
13551355
new_ap_level = pwr_level_80211h;
13561356
} else { /* has_cisco_pwr is always true here. */
1357-
sdata_info(sdata,
1358-
"Limiting TX power to %d dBm as advertised by %pM\n",
1359-
pwr_level_cisco, sdata->u.mgd.bssid);
1357+
sdata_dbg(sdata,
1358+
"Limiting TX power to %d dBm as advertised by %pM\n",
1359+
pwr_level_cisco, sdata->u.mgd.bssid);
13601360
new_ap_level = pwr_level_cisco;
13611361
}
13621362

0 commit comments

Comments
 (0)