aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2016-04-19 07:23:44 -0700
committerKalle Valo <[email protected]>2016-04-26 12:28:56 +0300
commit394f0ed53108d5e038910e3eb733ccd3f0d9c464 (patch)
treeb2bf9edacccf33ce78ad08dedf2380b00e2aab88 /tools/perf/scripts/python/event_analyzing_sample.py
parente0bdef0f75f0ee0d4747b72fa75310da78dbfa56 (diff)
mwifiex: fix loop timeout in mwifiex_prog_fw_w_helper()
USB8XXX_FW_MAX_RETRY is 3. We were using a post-op loop "while (retries--) {" but then the lines after that assume the loop exits with retries set to zero. I've fixed this by changing to a pre-op loop. I started with retries set to 4 instead of 3 so that we still go through the loop the same number of times. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions