linux-hardened/drivers/net/wireless
Luis R. Rodriguez 132127e505 ath5k: Fix frame duration oops
This patch fixes an oops which was introduced as a regression by
commit fd640775bd16e1df50c867cc547af0, on the patch titled,
"mac80211: dont use interface indices in drivers".

ieee80211_generic_frame_duration() now relies on sdata->flags which
itself gets set upon bringing the interface up. We check for the
virtual interface now before setting the rate duration registers.

After the mode changes are introduced onto mac80211 we should revisit
these changes.

This patch was tested on the following cards:

1) BG card:

Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
RF2112A 2GHz radio found (0x46)

2) ABG card:

Atheros AR5213A chip found (MAC: 0x59,PHY: 0x43)
RF5112A multiband radio found (0x36)

Signed-off-by: Luis R. Rodriguez <mcgrof@winlab.rutgers.edu>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-01-28 15:09:40 -08:00
..
ath5k ath5k: Fix frame duration oops 2008-01-28 15:09:40 -08:00
b43 mac80211: dont use interface indices in drivers 2008-01-28 15:09:36 -08:00
b43legacy mac80211: dont use interface indices in drivers 2008-01-28 15:09:36 -08:00
bcm43xx bcm43xx annotations 2008-01-28 15:09:08 -08:00
hostap hostap_cs: don't match revisions in presense of the MAC chip name 2008-01-28 15:09:33 -08:00
iwlwifi mac80211: dont use interface indices in drivers 2008-01-28 15:09:36 -08:00
libertas libertas: remove check for driver_lock in lbs_interrupt() 2008-01-28 15:07:52 -08:00
prism54 prism54: remove questionable down_interruptible usage 2008-01-28 15:09:12 -08:00
rt2x00 mac80211: dont use interface indices in drivers 2008-01-28 15:09:36 -08:00
zd1211rw mac80211: dont use interface indices in drivers 2008-01-28 15:09:36 -08:00
adm8211.c mac80211: dont use interface indices in drivers 2008-01-28 15:09:36 -08:00
adm8211.h
airo.c airo: last of endianness annotations 2008-01-28 15:09:05 -08:00
airo.h
airo_cs.c
airport.c
arlan-main.c
arlan-proc.c
arlan.h
atmel.c misc wireless annotations 2008-01-28 15:09:11 -08:00
atmel.h
atmel_cs.c
atmel_pci.c
hermes.c
hermes.h
hermes_rid.h
i82586.h
i82593.h
ipw2100.c ipw2100 annotations and fixes 2008-01-28 15:08:54 -08:00
ipw2100.h Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 2007-10-19 20:35:20 -07:00
ipw2200.c ipw2200: do not byteswap struct ipw_associate 2008-01-28 15:09:10 -08:00
ipw2200.h ipw2200: do not byteswap struct ipw_associate 2008-01-28 15:09:10 -08:00
Kconfig Add rtl8180 wireless driver 2008-01-28 15:09:35 -08:00
Makefile Add rtl8180 wireless driver 2008-01-28 15:09:35 -08:00
net2280.h
netwave_cs.c drivers/net/wireless: Add missing "space" 2007-11-29 21:34:51 -05:00
orinoco.c orinoco: always use latest BSS info when caching scan results 2008-01-28 15:05:55 -08:00
orinoco.h orinoco: more reliable scan handling 2008-01-28 15:03:32 -08:00
orinoco_cs.c
orinoco_nortel.c
orinoco_pci.c
orinoco_pci.h
orinoco_plx.c
orinoco_tmd.c
p54.h
p54common.c mac80211: dont use interface indices in drivers 2008-01-28 15:09:36 -08:00
p54common.h
p54pci.c p54pci: endianness annotations and fixes 2008-01-28 15:09:07 -08:00
p54pci.h p54pci: endianness annotations and fixes 2008-01-28 15:09:07 -08:00
p54usb.c drivers/net/wireless: Add missing "space" 2007-11-29 21:34:51 -05:00
p54usb.h
ray_cs.c misc wireless annotations 2008-01-28 15:09:11 -08:00
ray_cs.h
rayctl.h
rtl818x.h Add rtl8180 wireless driver 2008-01-28 15:09:35 -08:00
rtl8180.h mac80211: dont use interface indices in drivers 2008-01-28 15:09:36 -08:00
rtl8180_dev.c mac80211: dont use interface indices in drivers 2008-01-28 15:09:36 -08:00
rtl8180_grf5101.c Add rtl8180 wireless driver 2008-01-28 15:09:35 -08:00
rtl8180_grf5101.h Add rtl8180 wireless driver 2008-01-28 15:09:35 -08:00
rtl8180_max2820.c Add rtl8180 wireless driver 2008-01-28 15:09:35 -08:00
rtl8180_max2820.h Add rtl8180 wireless driver 2008-01-28 15:09:35 -08:00
rtl8180_rtl8225.c Add rtl8180 wireless driver 2008-01-28 15:09:35 -08:00
rtl8180_rtl8225.h Add rtl8180 wireless driver 2008-01-28 15:09:35 -08:00
rtl8180_sa2400.c Add rtl8180 wireless driver 2008-01-28 15:09:35 -08:00
rtl8180_sa2400.h Add rtl8180 wireless driver 2008-01-28 15:09:35 -08:00
rtl8187.h mac80211: dont use interface indices in drivers 2008-01-28 15:09:36 -08:00
rtl8187_dev.c mac80211: dont use interface indices in drivers 2008-01-28 15:09:36 -08:00
rtl8187_rtl8225.c Add rtl8180 wireless driver 2008-01-28 15:09:35 -08:00
rtl8187_rtl8225.h Add rtl8180 wireless driver 2008-01-28 15:09:35 -08:00
spectrum_cs.c
strip.c [TTY]: Use tty_mode_ioctl() in network drivers. 2007-11-07 04:14:24 -08:00
wavelan.c netdev: ARRAY_SIZE() cleanups 2008-01-28 15:03:37 -08:00
wavelan.h
wavelan.p.h
wavelan_cs.c wireless: checkpatch cleanups 2008-01-28 15:04:04 -08:00
wavelan_cs.h
wavelan_cs.p.h misc wireless annotations 2008-01-28 15:09:11 -08:00
wl3501.h
wl3501_cs.c
zd1201.c
zd1201.h