linux_dsm_epyc7002/drivers/net/wireless
Ivo van Doorn 6d64360ac5 rt2x00: Fix BUG_ON() with antenna handling
With the new configuration handling, and more specifically
splitting the configuration of the antenna from the normal
configuration steps allowed a BUG_ON() to be triggered
in the driver because the SW_DIVERSITY was send to the
driver. This fixes that by catching the value early in
rt2x00config.c and replacing it with a sensible value.

This also fixes a problem where the antenna is not being
initialized at all when the radio is enabled. Since it
no longer is part of the mac80211 configuration the
only place where rt2x00 configured it was the SW diversity
handler. Obviously this is broken for all non-diversity
hardware and breaks SW diversity due to a broken initialization.

When the radio is enabled the antenna will be configured
once as soon as the config() callback function is called.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-11-21 11:06:05 -05:00
..
ath5k ath5k: update keycache to support TKIP handling 2008-11-10 15:17:33 -05:00
ath9k ath9k: Fix compilation failure when RFKILL is enabled 2008-11-11 13:06:14 -05:00
b43 b43: implement short slot and basic rate handling 2008-11-10 15:17:35 -05:00
b43legacy b43legacy: reindent misleading statement 2008-11-10 15:17:39 -05:00
hostap Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-11-18 23:38:23 -08:00
iwlwifi Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-11-20 16:44:00 -08:00
libertas libertas: Fine grained configuration of wake-on-lan. 2008-11-21 11:06:03 -05:00
libertas_tf libertas_tf: fix skb tail pointer 2008-11-18 17:26:26 -05:00
orinoco net: struct device - replace bus_id with dev_name(), dev_set_name() 2008-11-10 13:55:14 -08:00
p54 p54: initialize all deprecated fields 2008-11-10 15:17:39 -05:00
prism54 net: convert print_mac to %pM 2008-10-27 17:06:18 -07:00
rt2x00 rt2x00: Fix BUG_ON() with antenna handling 2008-11-21 11:06:05 -05:00
rtl818x Move all rtl818x files to a common directory. 2008-11-21 11:06:04 -05:00
zd1211rw Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2008-11-06 22:43:03 -08:00
adm8211.c adm8211: remove SSID code 2008-11-10 15:11:56 -05:00
adm8211.h adm8211: remove SSID code 2008-11-10 15:11:56 -05:00
airo_cs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2008-10-13 14:12:40 -07:00
airo.c don't use net/ieee80211.h 2008-11-10 15:11:56 -05:00
airo.h
arlan-main.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
arlan-proc.c
arlan.h
atmel_cs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 2008-10-13 14:12:40 -07:00
atmel_pci.c
atmel.c don't use net/ieee80211.h 2008-11-10 15:11:56 -05:00
atmel.h
i82586.h
i82593.h
ipw2100.c wireless: use individual buffers for printing ssid values 2008-10-31 19:00:50 -04:00
ipw2100.h
ipw2200.c wireless: avoid some net/ieee80211.h vs. linux/ieee80211.h conflicts 2008-10-31 19:00:50 -04:00
ipw2200.h wireless: consolidate on a single escape_essid implementation 2008-10-31 19:00:46 -04:00
Kconfig ipw2100, ipw2200: select LIB80211 2008-11-21 11:06:03 -05:00
mac80211_hwsim.c mac80211_hwsim: enable Mesh Point operation 2008-11-21 11:06:04 -05:00
Makefile Move all rtl818x files to a common directory. 2008-11-21 11:06:04 -05:00
netwave_cs.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
ray_cs.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
ray_cs.h
rayctl.h
rndis_wlan.c netdevice: safe convert to netdev_priv() #part-4 2008-11-12 23:39:10 -08:00
strip.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
wavelan_cs.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
wavelan_cs.h
wavelan_cs.p.h
wavelan.c netdevice: safe convert to netdev_priv() #part-4 2008-11-12 23:39:10 -08:00
wavelan.h
wavelan.p.h net: Rationalise email address: Network Specific Parts 2008-10-13 19:01:08 -07:00
wl3501_cs.c drivers/net: Kill now superfluous ->last_rx stores. 2008-11-03 21:11:17 -08:00
wl3501.h don't use net/ieee80211.h 2008-11-10 15:11:56 -05:00
zd1201.c netdevice zd1201: Convert directly reference of netdev->priv to netdev_priv() 2008-11-21 11:06:02 -05:00
zd1201.h