aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLuis R. Rodriguez <[email protected]>2013-10-29 19:34:24 +0100
committerJohn W. Linville <[email protected]>2013-12-05 15:44:59 -0500
commit62452a99d0b225a0f5d34d34b2aef63d7b44157b (patch)
tree8c8aa34401882bd349b3d335ea8d41c4c2534b34 /tools/perf/scripts/python
parent07782d94d90b9ab94a97b1a1841575251484e5bb (diff)
ath: fix usage of freq_reg_info()
freq_reg_info() expects KHz and not MHz, fix this. In this case we'll now be getting the no-ir flags cleared on channels for any channel when the country IE trusts that channel. @@ struct ieee80211_channel *ch; struct wiphy *wiphy; const struct ieee80211_reg_rule *rule; @@ -rule = freq_reg_info(wiphy, ch->center_freq); +rule = freq_reg_info(wiphy, MHZ_TO_KHZ(ch->center_freq)); Generated-by: Coccinelle SmPL Cc: Julia Lawall <[email protected]> Cc: Peter Senna Tschudin <[email protected]> Reported-by: Mihir Shete <[email protected]> Signed-off-by: Luis R. Rodriguez <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions