staging: r8188eu: remove a misleading comment
authorMartin Kaiser <martin@kaiser.cx>
Mon, 4 Jul 2022 20:16:53 +0000 (22:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Jul 2022 12:27:46 +0000 (14:27 +0200)
Remove a misleading comment in ap2sta_data_frame. We are not checking
for QOS frames.

Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220704201654.195574-6-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_recv.c

index a761d88d47113c73928fa3e79d7092b567257491..8b21ec8f111fd0bd9bb5260c60149f4a12bc0054 100644 (file)
@@ -693,9 +693,6 @@ static int ap2sta_data_frame(
                        goto exit;
                }
 
-               /* if ((GetFrameSubType(ptr) & WIFI_QOS_DATA_TYPE) == WIFI_QOS_DATA_TYPE) { */
-               /*  */
-
                if (GetFrameSubType(ptr) & BIT(6)) {
                        /* No data, will not indicate to upper layer, temporily count it here */
                        count_rx_stats(adapter, precv_frame, *psta);