cfg80211: print bandwidth in chan_reg_rule_print_dbg()
authorPavel Roskin <proski@gnu.org>
Thu, 1 Sep 2011 15:54:12 +0000 (11:54 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 19:53:46 +0000 (15:53 -0400)
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>
net/wireless/reg.c

index 9f3aa5cabdefec4102d2c3f5bca167c62cbc8bdf..a2b09c2df1bf8cefa0ff380e6fb72430ac7063d6 100644 (file)
@@ -751,9 +751,10 @@ static void chan_reg_rule_print_dbg(struct ieee80211_channel *chan,
                      chan->center_freq,
                      KHZ_TO_MHZ(desired_bw_khz));
 
-       REG_DBG_PRINT("%d KHz - %d KHz @  KHz), (%s mBi, %d mBm)\n",
+       REG_DBG_PRINT("%d KHz - %d KHz @ %d KHz), (%s mBi, %d mBm)\n",
                      freq_range->start_freq_khz,
                      freq_range->end_freq_khz,
+                     freq_range->max_bandwidth_khz,
                      max_antenna_gain,
                      power_rule->max_eirp);
 }