diff options
author | Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com> | 2016-07-01 11:07:25 (GMT) |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2016-07-08 14:06:01 (GMT) |
commit | c11e99396d0f77b5a6adc25f7c7bd84750194724 (patch) | |
tree | ff75cacdbbce98b1dcfe29d7a9f3a9e2a2751d20 /drivers/virtio | |
parent | 7860eb7537a0a308664da34e71d302cbb5130626 (diff) | |
download | linux-c11e99396d0f77b5a6adc25f7c7bd84750194724.tar.xz |
ath10k: fix possible wrong rx_busy time reporting in QCA4019
As hw cycle counters in QCA4019 wraparound independantly in QCA4019
it is possible cycle counter and rx clear counter would wraparound
at the same time. Current logic assumes only one of the counters
would wraparound at anytime. Fix this by moving 'else' part to
another 'if'.
Fixes: 8e100354a98 ("ath10k: fix cycle counter wraparound handling for QCA4019")
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Reviewed-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions