OSDN Git Service

ath10k: clear htt.freq
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 30 Mar 2015 06:51:51 +0000 (09:51 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 30 Mar 2015 11:58:15 +0000 (14:58 +0300)
commit6fcafef7363bec35ddf148abae6e879e27771eb0
tree9afb68c262dc8634eb6f222a6f2e3f8cd1420db5
parentdc3632a1adf51d34dcaf708a4f686d9ce29d53b3
ath10k: clear htt.freq

If htt.freq isn't cleared and contains garbage fw
may discard tx packets. Prevent this from
happening by clearing htt.freq properly.

Possible manifestation of the problem could be not
being able to send auth request/response frames on
firmware with HTT >= 3.4 (when freq param was
introduced), e.g. on qca6174.

Fixes: 8d6d36243610 ("ath10k: fix offchan reliability")
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c