summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath10k/sdio.h
diff options
context:
space:
mode:
authorErik Stromdahl <erik.stromdahl@gmail.com>2018-06-18 17:01:21 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-06-28 12:53:15 +0300
commitd1a566bec5887988cd7e4b7cf98b05e1ff7a0f8a (patch)
treef1063dd1cc99f87f1f43750cece7fd3c9b9605fe /drivers/net/wireless/ath/ath10k/sdio.h
parent168f75f11fe68455e0d058a818ebccfc329d8685 (diff)
ath10k: fix bug in masking of TID value
Although the TID mask is 0xf, the modulus operation does still not produce identical results as the bitwise and operator. If the TID is 15, the modulus operation will "convert" it to 0, whereas the bitwise and will keep it as 15. This was found during code review. Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/sdio.h')
0 files changed, 0 insertions, 0 deletions