android_kernel_oneplus_msm8998/drivers/net/wireless
Brian Norris 3475e0c3b2 mwifiex: fix 802.11n/WPA detection
commit df612421fe2566654047769c6852ffae1a31df16 upstream.

Commit 63d7ef36103d ("mwifiex: Don't abort on small, spec-compliant
vendor IEs") adjusted the ieee_types_vendor_header struct, which
inadvertently messed up the offsets used in
mwifiex_is_wpa_oui_present(). Add that offset back in, mirroring
mwifiex_is_rsn_oui_present().

As it stands, commit 63d7ef36103d breaks compatibility with WPA (not
WPA2) 802.11n networks, since we hit the "info: Disable 11n if AES is
not supported by AP" case in mwifiex_is_network_compatible().

Fixes: 63d7ef36103d ("mwifiex: Don't abort on small, spec-compliant vendor IEs")
Cc: <stable@vger.kernel.org>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-08-25 10:52:54 +02:00
..
ath ath10k: fix PCIE device wake up failed 2019-08-04 09:34:48 +02:00
b43 b43: shut up clang -Wuninitialized variable warning 2019-06-11 12:24:02 +02:00
b43legacy
brcm80211 brcmfmac: add subtype check for event handling in data path 2019-06-11 12:24:11 +02:00
cw1200 net: cw1200: fix a NULL pointer dereference 2019-06-11 12:23:55 +02:00
hostap
ipw2x00
iwlegacy
iwlwifi iwlwifi: mvm: fix regulatory domain update when the firmware starts 2018-12-01 09:46:40 +01:00
libertas
libertas_tf
mediatek mt7601u: fix possible memory leak when the device is disconnected 2019-08-04 09:34:48 +02:00
mwifiex mwifiex: fix 802.11n/WPA detection 2019-08-25 10:52:54 +02:00
orinoco
p54
prism54
realtek rtlwifi: fix a potential NULL pointer dereference 2019-06-11 12:24:02 +02:00
rsi rsi: improve kernel thread handling to fix kernel panic 2019-04-27 09:33:58 +02:00
rt2x00
ti wlcore: Fix memory leak in case wl12xx_fetch_firmware failure 2019-04-27 09:33:53 +02:00
zd1211rw
adm8211.c
adm8211.h
airo.c
airo.h
airo_cs.c
at76c50x-usb.c at76c50x-usb: Don't register led_trigger if usb_register_driver failed 2019-06-11 12:23:53 +02:00
at76c50x-usb.h
atmel.c
atmel.h
atmel_cs.c
atmel_pci.c
Kconfig
mac80211_hwsim.c mac80211_hwsim: propagate genlmsg_reply return code 2019-03-23 08:44:34 +01:00
mac80211_hwsim.h
Makefile
mwl8k.c
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: potential buffer overflow in rndis_wlan_auth_indication() 2018-10-10 08:52:06 +02:00
wl3501.h
wl3501_cs.c
zd1201.c
zd1201.h