summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSara Sharon <sara.sharon@intel.com>2016-05-04 14:22:10 +0300
committerLuca Coelho <luciano.coelho@intel.com>2016-07-06 00:33:06 +0300
commitf43495fd5e37b2ef4a187974011ff439e6354053 (patch)
treee8f620d1e8345baa079288d2c0aa4c09a163ec65 /tools/perf/scripts/python
parent2047fa5401918a1e3bc0ec8923de2570265d1d78 (diff)
downloadcachepc-linux-f43495fd5e37b2ef4a187974011ff439e6354053.tar.gz
cachepc-linux-f43495fd5e37b2ef4a187974011ff439e6354053.zip
iwlwifi: mvm: fix possible division by zero
Theoretically we may get only one IRQ from OS, in which case we will have only 1 queue even in MSIx mode. This will cause division by zero in the indirection table calculation. We do not need send the command in that case, as there is only one queue so all RX traffic will be directed to it anyway. Bail out early if there is only one queue. Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions