Commit e1bfd974 authored by Franziska Naepelt's avatar Franziska Naepelt Committed by Greg Kroah-Hartman
Browse files

staging: rtl8723bs: ioctl_linux: Fix comparison to false



Fix the following checkpatch issue:
- CHECK: Using comparison to false is error prone

Signed-off-by: default avatarFranziska Naepelt <franziska.naepelt@googlemail.com>
Link: https://lore.kernel.org/r/20230722215927.4443-1-franziska.naepelt@googlemail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a5714ee3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);