aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHelmut Schaa <[email protected]>2011-11-14 15:28:19 +0100
committerJohn W. Linville <[email protected]>2011-11-17 15:43:56 -0500
commitb79296beeba470074737a7d5a941f4ddd64863d8 (patch)
tree8dc3cac0d81d9036ed96832d538a3d1811135a51 /tools/perf/scripts/python
parenta7f23f0a8f6be9d95d8110d34b21ccce03111447 (diff)
mac80211: Check rate->idx before rate->count
The drivers are not required to fill in rate->count if rate->idx is set to -1. Hence, we should first check rate->idx before accessing rate->count. Signed-off-by: Helmut Schaa <[email protected]> Acked-by: Felix Fietkau <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions