[PATCH 08/10] staging: rtl8192e: Remove equation with pPeerHTCap->DssCCk

From: Philipp Hortmann
Date: Sun Dec 10 2023 - 10:27:17 EST


Remove equation with pPeerHTCap->DssCCk as it is set to 1 and unchanged.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@xxxxxxxxx>
---
drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c
index bedee290e7f5..ca9da96b6f6c 100644
--- a/drivers/staging/rtl8192e/rtl819x_HTProc.c
+++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c
@@ -471,7 +471,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee)
ht_info->cur_short_gi_20mhz = ((pPeerHTCap->ShortGI20Mhz == 1) ? true : false);
ht_info->cur_short_gi_40mhz = ((pPeerHTCap->ShortGI40Mhz == 1) ? true : false);

- ht_info->bCurSuppCCK = ((pPeerHTCap->DssCCk == 1) ? true : false);
+ ht_info->bCurSuppCCK = true;

ht_info->bCurrent_AMSDU_Support = ht_info->amsdu_support;

--
2.43.0