diff options
author | Daniel Mack <daniel@zonque.org> | 2018-05-23 11:14:35 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-05-25 13:07:25 +0300 |
commit | edd23ab403cf092a20ea185770f197f502ac32f0 (patch) | |
tree | 5f300e9ec5ddcd645d0bf09fb8634e91c6c1d6b6 /crypto/serpent_generic.c | |
parent | ba437e72378c91a2fd6766014cc02fa98b61f2dc (diff) | |
download | linux-stable-edd23ab403cf092a20ea185770f197f502ac32f0.tar.gz linux-stable-edd23ab403cf092a20ea185770f197f502ac32f0.tar.bz2 linux-stable-edd23ab403cf092a20ea185770f197f502ac32f0.zip |
wcn36xx: clear all masks in RX interrupt
Like on the TX side, check for the interrupt reason when the RX interrupt
is latched and clear the ERR, DONE and ED masks.
This seems to help with connection timeouts and network stream
starvatations. And FWIW, the downstream driver does the same thing.
Note that in analogy to the TX side, WCN36XX_DXE_0_INT_CLR should be set to
WCN36XX_INT_MASK_CHAN_RX_{L,H} rather than WCN36XX_DXE_INT_CH{1,3}_MASK. It
did the right thing however, as the defines happen to have identical values.
Also, instead of determining register addresses and values inside
wcn36xx_rx_handle_packets(), pass them as arguments.
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'crypto/serpent_generic.c')
0 files changed, 0 insertions, 0 deletions