Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1444220pxf; Fri, 2 Apr 2021 10:35:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRTFEn/dYzucBeYs7HRQto6k6/jUmuEgbxRKUV6IEcwgtS/nvOsaxuDYtdl1wLkdvWDSkH X-Received: by 2002:a17:906:4e57:: with SMTP id g23mr15029155ejw.47.1617384935348; Fri, 02 Apr 2021 10:35:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617384935; cv=none; d=google.com; s=arc-20160816; b=CJpDhwfp0jqS6TYfO+T/vNyqe/bV9MwPaXLwACUshHuvY7KWk/dSfqTz3yIJS/U7K5 WoirQ9bj8BxkpRfuDSFma9WfA2I8uqaNy4HjkFZ1prSY2XRoJu4ppPLt9/YZdrD34980 Mhg/MyADEpa4a1lK5ewzwswZyh6FhUhk3UOwYUerzFCSy2q3zy8QcKGUjmcRIfOmvRKR VQ6Si1eLKMRcVbSIqaZ3Yoh3hsZz5EjqiVpAuNWORc0R6IfOuN0B3acMwFm6rvhraJSN y3wRF1+7Ee++RkehULv82GgpcQ+Fgl85UZyfxhylxwFkonwzZJ7znkwoB9Cb5iqfTT/v 8ovg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+WIbGM0TNq2Kt4ZMdwccEsYf6WIgo/nj7IbBEpX7lbs=; b=vaONjAUKkgsQluxw4HBEHXeGAnw/liCzItP6zaNgqeOZJb69WNmNpSt87oiAa1PPwU 57Nlk9hpJEoS6FwsehYbAEweO/dMjtumkdqdSvU+xadQ+X5kxHsAHOk43L+h3pCttVho /6R1KNJ2KA7RcvcDROzQcTQxebWCVrmYvynGjyAcluxEAvgGtL6O9L9qNGt97Hd3WML7 ObUbRaDoz1H1+TCyfzO5DOy7IebkEXctY+ZOlJHXSSEEWhQbk0cd3ajBDuBdWK9/pHX7 qPfvhQtp/ciPFB05YdYAQev2Kg+oSvA6WnVV8NWuNb9E55ZO/Av4cNdFAUDnTO476Yd7 7L/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="eo/aD5Tv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u4si6822267ejz.522.2021.04.02.10.35.13; Fri, 02 Apr 2021 10:35:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="eo/aD5Tv"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236397AbhDBRbt (ORCPT + 99 others); Fri, 2 Apr 2021 13:31:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236035AbhDBRbF (ORCPT ); Fri, 2 Apr 2021 13:31:05 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B69CC061788 for ; Fri, 2 Apr 2021 10:31:02 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id r14-20020a05600c35ceb029010fe0f81519so1159625wmq.0 for ; Fri, 02 Apr 2021 10:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+WIbGM0TNq2Kt4ZMdwccEsYf6WIgo/nj7IbBEpX7lbs=; b=eo/aD5TvnqcNTdexF12Bv+6+MIqOmC/6acCITBwhUb79I1lMogMWk1z05w98p6NMFD AI+U3YWbnpLvHslzlXdXhR0T6tlBfttnrfgX29oBDnxMC03z8FQzf6qbdtbaZyK0zRSB wHUbFz8yaFz3KRqVEuhRPWaxZg1e6Aqc7iP9+g5Pkx+vVc5GNHK42/CMtFNF5nOzvkWH v5tHXI1S9HE4Y48OME+zaBDRoouAE2D4VlElAdPPG+war3Qc+UJOAybbIKquYxXNiKSO imt9nFNfUZ8MftcdglCVK9ZDIToLj4IeufBtLL3AhM3xy6tKrPQp2Q7lMUjSuZWLuTl8 UKSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+WIbGM0TNq2Kt4ZMdwccEsYf6WIgo/nj7IbBEpX7lbs=; b=oXMdu36GBerKz5iyzQiVPoPDCT8M9//rmL/m0HpNJCiwAsPCaBewnDOzgIHgtXu9S1 sF9cjmnz94HhBjvvzvf9Aa8wbHndY9TE6+BuPLZS7jUWjOkduDWAJmu6C8j9iR+Hk19W eOFLClTDfOUKFJAE+I44VBa0ziVBsOmFpCa6/Uxel/dvY+3wyIGZPWOCzuz28xvCthzl WXeySjtDhY1MJxVbi5o6eqOMHBr5KKrFMHK3yKftMYUarllYI+b8xU2DJ+TeZWY35E1P nEia6mtvKBnZiRY4A7wJEGfO0zVZ8U9YwwIS0Lfar2vVGEbt4yTJRBeA3BSozz3oLNTk pxoQ== X-Gm-Message-State: AOAM530HzrNigL91faONtztgRPZ9JqXjMTjLTG3Kd1jhr9ABkKky9I3B g/NZ5uqNc3nniZsZp7d7r81vPuN+BI/3Uw== X-Received: by 2002:a1c:541b:: with SMTP id i27mr3435969wmb.99.1617384661198; Fri, 02 Apr 2021 10:31:01 -0700 (PDT) Received: from agape ([5.171.81.4]) by smtp.gmail.com with ESMTPSA id l5sm13041219wmh.0.2021.04.02.10.31.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Apr 2021 10:31:00 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: dan.carpenter@oracle.com, joe@perches.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Fabio Aiuto Subject: [PATCH v2 27/30] staging: rtl8723bs: remove all RT_TRACE logs in core/rtw_wlan_util.c Date: Fri, 2 Apr 2021 19:30:09 +0200 Message-Id: <468821e5b155e51101ace32f5ec8630a8315d0de.1617384172.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove all RT_TRACE logs Signed-off-by: Fabio Aiuto --- .../staging/rtl8723bs/core/rtw_wlan_util.c | 24 ++++--------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c index 760b0ea4e9bd..f6a7993005ab 100644 --- a/drivers/staging/rtl8723bs/core/rtw_wlan_util.c +++ b/drivers/staging/rtl8723bs/core/rtw_wlan_util.c @@ -1334,11 +1334,6 @@ int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len) memcpy(bssid->Ssid.Ssid, (p + 2), ssid_len); bssid->Ssid.SsidLength = ssid_len; - RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, ("%s bssid.Ssid.Ssid:%s bssid.Ssid.SsidLength:%d " - "cur_network->network.Ssid.Ssid:%s len:%d\n", __func__, bssid->Ssid.Ssid, - bssid->Ssid.SsidLength, cur_network->network.Ssid.Ssid, - cur_network->network.Ssid.SsidLength)); - if (memcmp(bssid->Ssid.Ssid, cur_network->network.Ssid.Ssid, 32) || bssid->Ssid.SsidLength != cur_network->network.Ssid.SsidLength) { if (bssid->Ssid.Ssid[0] != '\0' && bssid->Ssid.SsidLength != 0) { /* not hidden ssid */ @@ -1355,9 +1350,6 @@ int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len) else bssid->Privacy = 0; - RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, - ("%s(): cur_network->network.Privacy is %d, bssid.Privacy is %d\n", - __func__, cur_network->network.Privacy, bssid->Privacy)); if (cur_network->network.Privacy != bssid->Privacy) { DBG_871X("%s(), privacy is not match\n", __func__); goto _mismatch; @@ -1382,25 +1374,17 @@ int rtw_check_bcn_info(struct adapter *Adapter, u8 *pframe, u32 packet_len) if (encryp_protocol == ENCRYP_PROTOCOL_WPA || encryp_protocol == ENCRYP_PROTOCOL_WPA2) { pbuf = rtw_get_wpa_ie(&bssid->IEs[12], &wpa_ielen, bssid->IELength-12); if (pbuf && (wpa_ielen > 0)) { - if (_SUCCESS == rtw_parse_wpa_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is_8021x)) { - RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, - ("%s pnetwork->pairwise_cipher: %d, group_cipher is %d, is_8021x is %d\n", __func__, - pairwise_cipher, group_cipher, is_8021x)); - } + rtw_parse_wpa_ie(pbuf, wpa_ielen + 2, &group_cipher, + &pairwise_cipher, &is_8021x); } else { pbuf = rtw_get_wpa2_ie(&bssid->IEs[12], &wpa_ielen, bssid->IELength-12); if (pbuf && (wpa_ielen > 0)) { - if (_SUCCESS == rtw_parse_wpa2_ie(pbuf, wpa_ielen+2, &group_cipher, &pairwise_cipher, &is_8021x)) { - RT_TRACE(_module_rtl871x_mlme_c_, _drv_info_, - ("%s pnetwork->pairwise_cipher: %d, pnetwork->group_cipher is %d, is_802x is %d\n", - __func__, pairwise_cipher, group_cipher, is_8021x)); - } + rtw_parse_wpa2_ie(pbuf, wpa_ielen + 2, &group_cipher, + &pairwise_cipher, &is_8021x); } } - RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, - ("%s cur_network->group_cipher is %d: %d\n", __func__, cur_network->BcnInfo.group_cipher, group_cipher)); if (pairwise_cipher != cur_network->BcnInfo.pairwise_cipher || group_cipher != cur_network->BcnInfo.group_cipher) { DBG_871X("%s pairwise_cipher(%x:%x) or group_cipher(%x:%x) is not match\n", __func__, pairwise_cipher, cur_network->BcnInfo.pairwise_cipher, -- 2.20.1