linux/drivers/net/wireless
Stanislaw Gruszka 8f3ce22446 rt61pci: fix NULL pointer dereference in config_lna_gain
commit deee0214de upstream.

We can not pass NULL libconf->conf->channel to rt61pci_config() as it
is dereferenced unconditionally in rt61pci_config_lna_gain() subroutine.

Resolves:
https://bugzilla.kernel.org/show_bug.cgi?id=44361

Reported-and-tested-by: <dolohow@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-15 08:10:34 -07:00
..
ath ath9k: Add PID/VID support for AR1111 2012-08-15 08:10:10 -07:00
b43 b43: only reload config after successful initialization 2012-04-27 15:25:25 -04:00
b43legacy b43legacy: Fix error due to MMIO access with SSB unpowered 2012-06-01 15:18:24 +08:00
brcm80211 brcmfmac: fix a double spin_unlock_irqrestore issue in dpc 2012-05-02 14:02:03 -04:00
hostap Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-03-20 21:12:50 -07:00
ipw2x00 net/wireless: ipw2x00: add supported cipher suites to wiphy initialization 2012-07-16 09:04:42 -07:00
iwlegacy iwlegacy: don't mess up the SCD when removing a key 2012-07-19 08:58:57 -07:00
iwlwifi iwlwifi: disable greenfield transmissions as a workaround 2012-08-15 08:10:33 -07:00
iwmc3200wifi simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
libertas libertas: fix signedness bug in lbs_auth_to_authtype() 2012-04-13 14:05:35 -04:00
libertas_tf drivers/net: Remove unnecessary k.alloc/v.alloc OOM messages 2012-01-31 16:20:21 -05:00
mwifiex mwifiex: correction in mcs index check 2012-08-09 08:31:30 -07:00
orinoco net: orinoco: add error handling for failed kmalloc(). 2012-03-28 14:25:35 -04:00
p54 p54pci: use new driver.pm interface for suspend/resume 2012-03-06 15:16:06 -05:00
prism54 Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
rt2x00 rt61pci: fix NULL pointer dereference in config_lna_gain 2012-08-15 08:10:34 -07:00
rtl818x rtl8187: ->brightness_set can not sleep 2012-07-16 09:04:42 -07:00
rtlwifi rtlwifi: rtl8192de: Fix phy-based version calculation 2012-08-09 08:31:30 -07:00
wl12xx simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
wl1251 wl1251: fix oops on early interrupt 2012-06-10 00:36:19 +09:00
zd1211rw Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-03-20 21:12:50 -07:00
adm8211.c drivers/net: Add module.h to drivers who were implicitly using it 2011-10-31 19:31:07 -04:00
adm8211.h
airo_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
airo.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
airo.h
at76c50x-usb.c wireless: at76c50x: follow rename pack_hex_byte to hex_byte_pack 2011-10-31 17:30:57 -07:00
at76c50x-usb.h
atmel_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
atmel_pci.c
atmel.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
atmel.h
Kconfig net: wireless: add brcm80211 drivers 2011-10-11 15:55:30 -04:00
mac80211_hwsim.c mac80211_hwsim: Fix set mactime on receiver hwsim radio 2012-03-12 14:19:35 -04:00
mac80211_hwsim.h
Makefile iwlegacy: rename remaining IWLs to ILs 2011-11-15 11:25:42 +01:00
mwl8k.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-02-21 15:06:35 -05:00
ray_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
ray_cs.h
rayctl.h ray_cs: Fix array bounds warnings. 2011-11-26 15:41:29 -05:00
rndis_wlan.c rndis_wlan: use u8 for key indexes 2012-03-05 15:23:17 -05:00
wl3501_cs.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
wl3501.h
zd1201.c USB: convert drivers/net/* to use module_usb_driver() 2011-11-18 09:44:20 -08:00
zd1201.h