diff options
| author | Brian Norris <[email protected]> | 2019-07-24 19:46:34 +0000 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2019-07-30 15:00:46 +0000 |
| commit | df612421fe2566654047769c6852ffae1a31df16 (patch) | |
| tree | 178fea0a150cfec8ddb0b6b418bcbd62d85c704a /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | Linus 5.3-rc1 (diff) | |
| download | kernel-df612421fe2566654047769c6852ffae1a31df16.tar.gz kernel-df612421fe2566654047769c6852ffae1a31df16.zip | |
mwifiex: fix 802.11n/WPA detection
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: <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
