Re: [PATCH] staging: rtl8723bs: remove comparisons to true/false in rtw_mlme_ext.c

From: Dan Carpenter

Date: Thu Oct 15 2026 - 08:00:29 EST


On Wed, Oct 07, 2026 at 09:51:14PM +0530, Mohammed Sohail wrote:
> @@ -3868,7 +3868,7 @@ u8 collect_bss_info(struct adapter *padapter, union recv_frame *precv_frame, str
> bssid->configuration.atim_window = 0;
>
> /* 20/40 BSS Coexistence check */
> - if ((pregistrypriv->wifi_spec == 1) && (false == pmlmeinfo->bwmode_updated)) {
> + if ((pregistrypriv->wifi_spec == 1) && (!pmlmeinfo->bwmode_updated)) {

Get rid of the extra parentheses around (!pmlmeinfo->bwmode_updated).

regards,
dan carpenter