summaryrefslogtreecommitdiff
path: root/drivers/net/irda
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>2016-07-01 16:37:25 +0530
committerGovind Singh <govinds@codeaurora.org>2017-01-06 15:59:02 +0530
commit9cf0cdcc5298e383396b59eeea76706251b4df6b (patch)
tree8b834595f922bb219ae697fce23a3a904a1d8854 /drivers/net/irda
parent338e7b8607cd00c385f8a4f96e08b973f88d60a5 (diff)
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/net/irda')
0 files changed, 0 insertions, 0 deletions