]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
staging: rtl8723bs: fix comparison to true issue
authorFabio Aiuto <fabioaiuto83@gmail.com>
Sat, 10 Apr 2021 14:20:36 +0000 (16:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 11 Apr 2021 06:45:03 +0000 (08:45 +0200)
commit1e95e1e49aee7305e110e999d5314bc7116c02c2
tree4a31dd8da917a45f57438cb486107855ed446d39
parent05c19e212a5d46c40ec0542d68bb1b2814c87af0
staging: rtl8723bs: fix comparison to true issue

fix following post-commit hook checkpatch issue:

CHECK: Using comparison to true is error prone
136: FILE: drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c:
2497:
+ if (psta->dot8021xalg != 1 ||
psta->bpairwise_key_installed == true) {

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/680d86950d760003a694f8880c0a912a9d815a5e.1618064275.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c