1
linux/drivers/net/wireless
Scott Ashcroft 20ad4fd562 rndis_wlan: use ARRAY_SIZE instead of sizeof when adding 11g rates
While figuring out the TKIP problem I found a bug in the code which adds the 11g
rates. It's using sizeof instead of ARRAY_SIZE to terminate the for loop. This makes
it fall off the end of the rates array start into the frequency array instead. Running
"iwlist rate" should show the problem as there will always be 32 rates with the last
few being bogus.

The following patch will fix it.

Signed-off-by: Scott Ashcroft <scott.ashcroft@talk21.com>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-06-03 15:00:16 -04:00
..
ath5k ath5k: use IEEE80211_SKB_CB 2008-06-03 15:00:16 -04:00
b43 b43: enable mesh 2008-06-03 15:00:13 -04:00
b43legacy mac80211: use multi-queue master netdevice 2008-05-21 21:48:14 -04:00
hostap
iwlwifi mac80211: use multi-queue master netdevice 2008-05-21 21:48:14 -04:00
libertas libertas: before sleeping, check for a command result 2008-06-03 15:00:15 -04:00
p54 mac80211: use multi-queue master netdevice 2008-05-21 21:48:14 -04:00
prism54 prism54: fix regression with missing carrier in AP-mode 2008-05-12 21:18:04 -04:00
rt2x00 mac80211: use multi-queue master netdevice 2008-05-21 21:48:14 -04:00
zd1211rw zd1211rw: Use DMA-aware buffer for usb transfer 2008-05-21 21:48:12 -04:00
adm8211.c mac80211: move TX info into skb->cb 2008-05-21 21:48:11 -04:00
adm8211.h mac80211: move TX info into skb->cb 2008-05-21 21:48:11 -04:00
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
ipw2200.h
Kconfig
Makefile
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
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: use ARRAY_SIZE instead of sizeof when adding 11g rates 2008-06-03 15:00:16 -04:00
rtl818x.h
rtl8180_dev.c mac80211: use multi-queue master netdevice 2008-05-21 21:48:14 -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: move TX info into skb->cb 2008-05-21 21:48:11 -04:00
rtl8187_rtl8225.c
rtl8187_rtl8225.h
rtl8187.h mac80211: move TX info into skb->cb 2008-05-21 21:48:11 -04:00
spectrum_cs.c
strip.c strip: Fix termios assumption 2008-05-12 07:27:38 -07:00
wavelan_cs.c wavelan: avoid index past end of array if DEBUG_SHOW_UNUSED is defined 2008-05-12 21:18:05 -04:00
wavelan_cs.h
wavelan_cs.p.h
wavelan.c wavelan: avoid index past end of array if DEBUG_SHOW_UNUSED is defined 2008-05-12 21:18:05 -04:00
wavelan.h
wavelan.p.h
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h