linux/drivers/staging
Dinghao Liu 11536442a3 Staging: rtl8188eu: rtw_mlme: Fix uninitialized variable authmode
The variable authmode can be uninitialized. The danger would be if
it equals to _WPA_IE_ID_ (0xdd) or _WPA2_IE_ID_ (0x33). We can avoid
this by setting it to zero instead. This is the approach that was
used in the rtl8723bs driver.

Fixes: 7b464c9fa5 ("staging: r8188eu: Add files for new driver - part 4")
Co-developed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200728072153.9202-1-dinghao.liu@zju.edu.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-28 10:18:53 +02:00
..
android staging: ion: fix common struct sg_table related issues 2020-06-25 16:34:54 +02:00
axis-fifo
board
clocking-wizard staging: Replace HTTP links with HTTPS ones 2020-07-20 10:22:47 +02:00
comedi staging: comedi: s526: Use fallthrough pseudo-keyword 2020-07-28 10:18:52 +02:00
emxx_udc
fbtft staging: fbtft: fb_st7789v: make HSD20_IPS numeric and not a string 2020-05-22 10:48:32 +02:00
fieldbus
fsl-dpaa2 staging: dpaa2-ethsw: check if there is space for a new VLAN 2020-07-21 16:53:34 +02:00
fwserial
gasket staging: gasket: core: Fix a coding style issue in gasket_core.c 2020-07-15 16:05:14 +02:00
gdm724x staging: gdm724x: Use fallthrough pseudo-keyword 2020-07-28 10:18:52 +02:00
goldfish
greybus staging: greybus: gpio: Use irqchip template 2020-07-28 10:05:33 +02:00
gs_fpgaboot staging: Replace HTTP links with HTTPS ones 2020-07-20 10:22:47 +02:00
iio iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
kpc2000 staging: kpc2000: kpc_dma: Remove additional goto statements 2020-07-01 15:44:26 +02:00
ks7010 staging: ks7010: Use fallthrough pseudo-keyword 2020-07-28 10:18:52 +02:00
media media fixes for v5.8-rc7 2020-07-22 11:56:00 -07:00
most staging: most: sound: remove overcautious argument checking 2020-06-25 15:41:17 +02:00
mt7621-dma
mt7621-dts
mt7621-pci
mt7621-pci-phy
mt7621-pinctrl
netlogic
nvec Staging: nvec: Replace HTTP links with HTTPS ones 2020-07-10 13:52:46 +02:00
octeon staging: octeon: Indent with tabs instead of spaces 2020-07-23 20:34:34 +02:00
octeon-usb
olpc_dcon
pi433
qlge staging: qlge: Use fallthrough pseudo-keyword 2020-07-28 10:18:52 +02:00
ralink-gdma
rtl8188eu Staging: rtl8188eu: rtw_mlme: Fix uninitialized variable authmode 2020-07-28 10:18:53 +02:00
rtl8192e staging: rtl8192e: Use fallthrough pseudo-keyword 2020-07-28 10:18:51 +02:00
rtl8192u staging: rtl8192u: fix a dubious looking mask before a shift 2020-07-17 12:08:44 +02:00
rtl8712 staging: rtl8712: Use fallthrough pseudo-keyword 2020-07-28 10:18:52 +02:00
rtl8723bs staging: rtl8723bs: Use fallthrough pseudo-keyword 2020-07-28 10:18:52 +02:00
rts5208 staging: rts5208: rtsx: Replace depracated MSI API 2020-07-21 16:52:47 +02:00
sm750fb staging: sm750fb: Add names to proc_setBLANK args 2020-05-29 12:35:59 +02:00
speakup staging/speakup: Update TODO list 2020-07-28 10:18:52 +02:00
unisys staging: unisys: visorhba: remove redundant initialization of variables scsicmd_id and rc 2020-07-23 20:34:34 +02:00
vc04_services staging: vc04_services: Use fallthrough pseudo-keyword 2020-07-28 10:18:52 +02:00
vme
vt6655 staging: vt6655: Use fallthrough pseudo-keyword 2020-07-10 13:52:46 +02:00
vt6656 staging: vt6655: Use fallthrough pseudo-keyword 2020-07-10 13:52:46 +02:00
wfx staging: wfx: Remove unnecessary return variable 2020-07-28 10:17:30 +02:00
wlan-ng Linux 5.8-rc7 2020-07-27 12:42:15 +02:00
Kconfig wilc1000: move wilc driver out of staging 2020-06-26 08:46:46 +03:00
Makefile wilc1000: move wilc driver out of staging 2020-06-26 08:46:46 +03:00