summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorNick Kossifidis <mickflemm@gmail.com>2012-08-05 22:35:34 +0300
committerJohn W. Linville <linville@tuxdriver.com>2012-08-10 15:26:55 -0400
commit755051993bfcdf07acd84a7ffd08d463b85bfd69 (patch)
treebb8a60d17d317516b8f266947ac9494c9c0ad1ee /tools/perf/scripts/python/netdev-times.py
parentd12c5c53ce4c8c65c694d1103673182ef5afdc65 (diff)
ath5k: Fix range scaling when setting rate power table
rates[i] is unsigned but txp_offset can be negative for newer parts with PDADC table. We cover the case when rates[i] + txp_offset > 63 but we must also cover the case when its < 0 or else rates[i] will overflow. Signed-off-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions