]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_htc: fix random decryption failure
authorJohannes Stezenbach <js@sig21.net>
Fri, 12 Sep 2014 20:36:51 +0000 (22:36 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Sep 2014 19:09:26 +0000 (15:09 -0400)
commita37dd93baa5fda27b1b7dfe1faf7692951fb0394
tree015abb95537871e49aac4771f09a9b494b6dde6f
parent261cede0eb6b38df92a3370cf71794bea084385f
ath9k_htc: fix random decryption failure

In v3.15 the driver stopped to accept network packets after successful
authentification, which could be worked around by passing the
nohwcrypt=1 module parameter.  This was not reproducible by
everyone, and showed random behaviour in some tests.
It was caused by an uninitialized variable introduced
in 5d36a725765f ("ath9k_htc: use ath9k_cmn_rx_accept") and
used in a13f0a2d0b93 ("ath9k_htc: use ath9k_cmn_rx_skb_postprocess").

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=78581
Fixes: a13f0a2d0b93 ("ath9k_htc: use ath9k_cmn_rx_skb_postprocess")
Signed-off-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_txrx.c