[PATCH 2/3] staging: rtl8723bs: Use true/false instead of 1/0

From: Erick Karanja
Date: Wed Apr 02 2025 - 08:51:47 EST


Standardize boolean representation by replacing 1/0
with true/false in cases where boolean logic is implied.
This improves code clarity and aligns with the kernel’s bool type usage.

Signed-off-by: Erick Karanja <karanja99erick@xxxxxxxxx>
---
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
index 952ce6dd5af9..8f2c9c3e853c 100644
--- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
@@ -1173,7 +1173,7 @@ unsigned int OnAssocReq(struct adapter *padapter, union recv_frame *precv_frame)

/* check if there is WMM IE & support WWM-PS */
pstat->flags &= ~WLAN_STA_WME;
- pstat->qos_option = 0;
+ pstat->qos_option = false;
pstat->qos_info = 0;
pstat->has_legacy_ac = true;
pstat->uapsd_vo = 0;
@@ -1189,7 +1189,7 @@ unsigned int OnAssocReq(struct adapter *padapter, union recv_frame *precv_frame)

pstat->flags |= WLAN_STA_WME;

- pstat->qos_option = 1;
+ pstat->qos_option = true;
pstat->qos_info = *(p+8);

pstat->max_sp_len = (pstat->qos_info>>5)&0x3;
--
2.43.0