]> asedeno.scripts.mit.edu Git - linux.git/commit
ath9k: dynack: set ackto to max timeout in ath_dynack_reset
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 20 Aug 2019 16:20:22 +0000 (18:20 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 4 Sep 2019 06:15:31 +0000 (09:15 +0300)
commit72bb1aa91ff87d4a3aaebd9250573a6547b4fe5d
treefe08048685ad0b4442b7d5023f0f5184ae56e61a
parent86e392994deebe3745b15d4c1aeeb21e84bf8cdc
ath9k: dynack: set ackto to max timeout in ath_dynack_reset

Initialize acktimeout to the maximum configurable value in
ath_dynack_reset in order to not disconnect long distance static links
enabling dynack and even to take care of possible errors configuring
a static timeout. Moreover initialize station timeout value to the current
acktimeout value

Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/dynack.c