mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 18:42:14 -04:00
staging: rtl8723bs: ioctl_linux: Fix comparison to false
Fix the following checkpatch issue: - CHECK: Using comparison to false is error prone Signed-off-by: Franziska Naepelt <franziska.naepelt@googlemail.com> Link: https://lore.kernel.org/r/20230722215927.4443-1-franziska.naepelt@googlemail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a5714ee328
commit
e1bfd97461
@@ -832,7 +832,7 @@ static int rtw_add_sta(struct net_device *dev, struct ieee_param *param)
|
||||
psta->htpriv.ht_option = false;
|
||||
}
|
||||
|
||||
if (pmlmepriv->htpriv.ht_option == false)
|
||||
if (!pmlmepriv->htpriv.ht_option)
|
||||
psta->htpriv.ht_option = false;
|
||||
|
||||
update_sta_info_apmode(padapter, psta);
|
||||
|
||||
Reference in New Issue
Block a user