From patchwork Sat Feb 17 20:25:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramon Fried X-Patchwork-Id: 10226549 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6664E602CB for ; Sat, 17 Feb 2018 20:26:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40BE228B68 for ; Sat, 17 Feb 2018 20:26:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 33BAC28B77; Sat, 17 Feb 2018 20:26:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1F0BE28B68 for ; Sat, 17 Feb 2018 20:26:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751276AbeBQUZR (ORCPT ); Sat, 17 Feb 2018 15:25:17 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:52662 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751246AbeBQUZQ (ORCPT ); Sat, 17 Feb 2018 15:25:16 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 1DECF6085F; Sat, 17 Feb 2018 20:25:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1518899116; bh=tCb3m5k0TWaIsbWqNPoeTmRP4OW4lALo7twC2sB/cbc=; h=From:To:Cc:Subject:Date:From; b=BxpeeTRz7LnNUYtQ6E9aGEwIGWnE/FA3hIsShetlQ6qPuklLwry/cqdyYel3Av7b7 B3+u9+m9fBLIoJoMOC0EgKNMH1C9BRTWjTxy6/iqQR7ec7IjcOjIp1hE98vAoeyPWG OaHpYipTZsnsIB6zACRDqRD7UklKprG6Srjlqs2U= Received: from lx-rfried.mea.qualcomm.com (unknown [185.23.60.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rfried@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 6458C602B8; Sat, 17 Feb 2018 20:25:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1518899115; bh=tCb3m5k0TWaIsbWqNPoeTmRP4OW4lALo7twC2sB/cbc=; h=From:To:Cc:Subject:Date:From; b=gbCivu92XWz+VlD56kjM+qrBvQB0hWMQYeryB/9NJohe1z+vYQfAfQ0QvSbeiEs5l 11BC6FfyLqWJfk2M24u7/A6dZ9UaozxHIgyXVru4C6bh8MtVlfQYUAhJ7tqkpqxcQK Z12jC/RZ9HPH7tzeJlxLNkFi1M5y6JiiHvR2Zmdk= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 6458C602B8 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rfried@codeaurora.org From: Ramon Fried To: kvalo@codeaurora.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org Cc: Ramon Fried Subject: [PATCH] wcn36xx: reduce verbosity of drivers messages Date: Sat, 17 Feb 2018 22:25:10 +0200 Message-Id: <20180217202510.13707-1-rfried@codeaurora.org> X-Mailer: git-send-email 2.15.1 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Whenever the WLAN interface is started the FW version and caps are printed, this info should appear as debug info. Signed-off-by: Ramon Fried Acked-by: Bjorn Andersson --- drivers/net/wireless/ath/wcn36xx/main.c | 2 +- drivers/net/wireless/ath/wcn36xx/smd.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index ab5be6d2c691..8c2654075eb8 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -261,7 +261,7 @@ static void wcn36xx_feat_caps_info(struct wcn36xx *wcn) for (i = 0; i < MAX_FEATURE_SUPPORTED; i++) { if (get_feat_caps(wcn->fw_feat_caps, i)) - wcn36xx_info("FW Cap %s\n", wcn36xx_get_cap_name(i)); + wcn36xx_dbg(WCN36XX_DBG_MAC, "FW Cap %s\n", wcn36xx_get_cap_name(i)); } } diff --git a/drivers/net/wireless/ath/wcn36xx/smd.c b/drivers/net/wireless/ath/wcn36xx/smd.c index 2a4871ca9c72..7c4d19b041bc 100644 --- a/drivers/net/wireless/ath/wcn36xx/smd.c +++ b/drivers/net/wireless/ath/wcn36xx/smd.c @@ -409,10 +409,10 @@ static int wcn36xx_smd_start_rsp(struct wcn36xx *wcn, void *buf, size_t len) wcn->fw_minor = rsp->start_rsp_params.version.minor; wcn->fw_major = rsp->start_rsp_params.version.major; - wcn36xx_info("firmware WLAN version '%s' and CRM version '%s'\n", + wcn36xx_dbg(WCN36XX_DBG_HAL, "firmware WLAN version '%s' and CRM version '%s'\n", wcn->wlan_version, wcn->crm_version); - wcn36xx_info("firmware API %u.%u.%u.%u, %u stations, %u bssids\n", + wcn36xx_dbg(WCN36XX_DBG_HAL, "firmware API %u.%u.%u.%u, %u stations, %u bssids\n", wcn->fw_major, wcn->fw_minor, wcn->fw_version, wcn->fw_revision, rsp->start_rsp_params.stations,