staging: rtl8192e: Remove equation with pPeerHTCap->DssCCk
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sun, 10 Dec 2023 15:26:51 +0000 (16:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Dec 2023 12:35:21 +0000 (13:35 +0100)
Remove equation with pPeerHTCap->DssCCk as it is set to 1 and unchanged.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/16ec7f928d1c51ffe68b9a1a68d09abaaa79924a.1702212003.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_HTProc.c

index bedee290e7f592c7a0f69b7ffeeca71bd67b9fc2..ca9da96b6f6cf93bde7c173ba3b16b79ed645b59 100644 (file)
@@ -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;