android_kernel_xiaomi_sm8350/drivers/net/wireless
Bob Copeland d6894b5be1 ath5k: Fix loop variable initializations
In ath5k_tasklet_rx, both status structures 'rxs' and 'rs' are
initialized at the top of the tasklet, but not within the loop.
If the loop is executed multiple times in the tasklet then the
variables may see changes from previous packets.

For TKIP, this results in 'Invalid Michael MIC' errors if two packets
are processed in the tasklet: rxs.flag gets set to RX_DECRYPTED by
mac80211 when it decrypts the first encrypted packet.  The subsequent
packet will have RX_DECRYPTED set upon entry to mac80211, so mac80211
will not try to decrypt it.

We currently initialize all but two fields in the structures, so fix
the other two.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-05-14 16:29:50 -04:00
..
ath5k ath5k: Fix loop variable initializations 2008-05-14 16:29:50 -04:00
b43 b43: nphy.c remove duplicated include 2008-05-14 16:29:49 -04:00
b43legacy mac80211: use hardware flags for signal/noise units 2008-05-14 16:29:49 -04:00
hostap
iwlwifi mac80211: use hardware flags for signal/noise units 2008-05-14 16:29:49 -04:00
libertas libertas: allow removal of card at any time 2008-05-07 15:02:27 -04:00
p54 mac80211: use hardware flags for signal/noise units 2008-05-14 16:29:49 -04:00
prism54 prism54: prism54_get_encode() test below 0 on unsigned index 2008-04-23 21:25:36 -04:00
rt2x00 mac80211: use hardware flags for signal/noise units 2008-05-14 16:29:49 -04:00
zd1211rw mac80211: use hardware flags for signal/noise units 2008-05-14 16:29:49 -04:00
adm8211.c mac80211: use hardware flags for signal/noise units 2008-05-14 16:29:49 -04:00
adm8211.h
airo_cs.c
airo.c airo: use netstats in net_device structure 2008-05-14 16:29:47 -04:00
airo.h
airport.c
arlan-main.c arlan: use netstats in net_device structure 2008-05-14 16:29:48 -04:00
arlan-proc.c
arlan.h arlan: use netstats in net_device structure 2008-05-14 16:29:48 -04:00
atmel_cs.c
atmel_pci.c
atmel.c atmel: use netstats in net_device structure 2008-05-14 16:29:48 -04:00
atmel.h
hermes_rid.h
hermes.c
hermes.h
i82586.h
i82593.h
ipw2100.c
ipw2100.h
ipw2200.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-04-14 02:30:23 -07:00
ipw2200.h
Kconfig
Makefile iwlwifi: Allow building iwl3945 without iwl4965. 2008-04-27 15:38:30 -07:00
netwave_cs.c
orinoco_cs.c
orinoco_nortel.c
orinoco_pci.c
orinoco_pci.h
orinoco_plx.c
orinoco_tmd.c
orinoco.c
orinoco.h
ray_cs.c proc: switch /proc/driver/ray_cs/ray_cs to seq_file interface 2008-04-16 15:59:56 -04:00
ray_cs.h
rayctl.h
rndis_wlan.c wireless: rndis_wlan: modparam_workaround_interval is never below 0. 2008-04-23 21:25:36 -04:00
rtl818x.h
rtl8180_dev.c mac80211: use hardware flags for signal/noise units 2008-05-14 16:29:49 -04:00
rtl8180_grf5101.c
rtl8180_grf5101.h
rtl8180_max2820.c
rtl8180_max2820.h
rtl8180_rtl8225.c
rtl8180_rtl8225.h
rtl8180_sa2400.c
rtl8180_sa2400.h
rtl8180.h
rtl8187_dev.c mac80211: use hardware flags for signal/noise units 2008-05-14 16:29:49 -04:00
rtl8187_rtl8225.c
rtl8187_rtl8225.h
rtl8187.h
spectrum_cs.c
strip.c strip: Fix up strip for the new order 2008-04-30 08:29:47 -07:00
wavelan_cs.c
wavelan_cs.h
wavelan_cs.p.h
wavelan.c
wavelan.h
wavelan.p.h
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h