diff options
| author | Fabio Aiuto <fabioaiuto83@gmail.com> | 2021-07-15 16:57:00 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-21 10:21:27 +0200 |
| commit | b658acbf64ae38b8fca982c2929ccc0bf4eb1ea2 (patch) | |
| tree | fb7a8d546aca525f4cf035f215e684b60fb42ff1 /scripts/kernel-doc | |
| parent | f9b9e0baec52706ae9c1c6cafeecdf88c187bab5 (diff) | |
| download | linux-b658acbf64ae38b8fca982c2929ccc0bf4eb1ea2.tar.bz2 | |
staging: rtl8723bs: fix wpa_set_auth_algs() function
fix authentication algorithm constants.
wpa_set_auth_algs() function contains some conditional
statements masking the checked value with the wrong
constants. This produces some unintentional dead code.
Mask the value with the right macros.
Fixes: 5befa937e8da ("staging: rtl8723bs: Fix IEEE80211 authentication algorithm constants.")
Reported-by: Colin Ian King <colin.king@canonical.com>
Tested-on: Lenovo Ideapad MiiX 300-10IBY
Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/20210715145700.9427-1-fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions