aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless/reg.c
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2011-09-01 11:54:12 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-09-13 15:53:46 -0400
commit56e6786e59cba2c714091ed53deffa6001a32841 (patch)
treec4d51bb8ce2ac0cd24940faa29f7af1839884bdf /net/wireless/reg.c
parentf84f234c6417e3d60b1cfeaf9d16c3bd1c8fe2a5 (diff)
cfg80211: print bandwidth in chan_reg_rule_print_dbg()
Two spaces and the second "KHz" suggest that the code author meant to print the bandwidth but forgot it. The code appears in commit e702d3cf already with two spaces and "KHz" in place of the bandwidth. Signed-off-by: Pavel Roskin <proski@gnu.org> Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/reg.c')
-rw-r--r--net/wireless/reg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 9f3aa5cabdef..a2b09c2df1bf 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -751,9 +751,10 @@ static void chan_reg_rule_print_dbg(struct ieee80211_channel *chan,
751 chan->center_freq, 751 chan->center_freq,
752 KHZ_TO_MHZ(desired_bw_khz)); 752 KHZ_TO_MHZ(desired_bw_khz));
753 753
754 REG_DBG_PRINT("%d KHz - %d KHz @ KHz), (%s mBi, %d mBm)\n", 754 REG_DBG_PRINT("%d KHz - %d KHz @ %d KHz), (%s mBi, %d mBm)\n",
755 freq_range->start_freq_khz, 755 freq_range->start_freq_khz,
756 freq_range->end_freq_khz, 756 freq_range->end_freq_khz,
757 freq_range->max_bandwidth_khz,
757 max_antenna_gain, 758 max_antenna_gain,
758 power_rule->max_eirp); 759 power_rule->max_eirp);
759} 760}