From patchwork Thu Feb 11 16:56:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 8282801 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6D2B7BEEE5 for ; Thu, 11 Feb 2016 16:56:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 91EF2200BE for ; Thu, 11 Feb 2016 16:56:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9F5F9202EC for ; Thu, 11 Feb 2016 16:56:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751207AbcBKQ43 (ORCPT ); Thu, 11 Feb 2016 11:56:29 -0500 Received: from mail-ob0-f180.google.com ([209.85.214.180]:34401 "EHLO mail-ob0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751132AbcBKQ41 (ORCPT ); Thu, 11 Feb 2016 11:56:27 -0500 Received: by mail-ob0-f180.google.com with SMTP id wb13so83150794obb.1 for ; Thu, 11 Feb 2016 08:56:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=b3WCylF4Ft3Pz1xs2jISWaZi03ra/mpFer6LIGua1xU=; b=iFwoJZFV4vzJGWrAdV412ObmtJvb85a3eltMhSkBCwzZXgtOkNiFi7pMaCJfG/2ubn 2GOcUb4YiyWBL3Q1C0CUxXwTVEogLZDZ16fmv1VLUqwddZg9SAvnc5aRCDg6R/KRjTSp bzc9paXb8yV5y0ODUqmI78t96x64Y+cejNgm+AVZ1W73l8h8bGVwAJNJM7dtSCLZj719 IYup04YQ7+GAU14D1xfztoW9pwO/apxxQW1+K/qCqmrrMdus2oXEu8cW7og44VSClyXH oTsdZ6SlXyME9ZdHD4Pnu6ZaZvvLjhxpq7tS1PAC0lcKLGyWdqpPwxQWBP8kAXBk5y+o i6hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=b3WCylF4Ft3Pz1xs2jISWaZi03ra/mpFer6LIGua1xU=; b=ZaanAbfecLlCMNi/sYh9+4tkJX9wOcRshoWBf2nbALv9pZ3Vjdwrw/YOgeavJIi/YT xF0fVYPx6NHk2lsiJDEVNGgsK6UT3hCOMOyUSvCNoNdgy9NxV/50sf5AxWzRJj2ByRkj lUxLR1xwbJ17ms4G7O3JiRmTNiSBFQ4dLH12UkOtk+iMyhyau1YDxXDN4l8C/s8g3Hdz sW8L/F8lUhGV6IGxa/7lJeWY772YkdZ2MpHCMPsVj24QFchsC8L87aYSE87s5HTlvaRe b9EPN7DfWZpSA+2YnaD1mQyT8ycg+oyDqqv3wTm+ONJD9AaiMoAKRkUizg8t6L1hwGME odQw== X-Gm-Message-State: AG10YOQOGIrZVndWU72Nd7wZGERThKbQYf+xqkUXlhWlCcj3nHxd37SVc5GMv8JUOI6haA== X-Received: by 10.60.117.233 with SMTP id kh9mr33795303oeb.23.1455209787072; Thu, 11 Feb 2016 08:56:27 -0800 (PST) Received: from linux.site (cpe-24-31-249-175.kc.res.rr.com. [24.31.249.175]) by smtp.gmail.com with ESMTPSA id qs6sm5630540oeb.3.2016.02.11.08.56.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 11 Feb 2016 08:56:25 -0800 (PST) From: Larry Finger To: kvalo@codeaurora.org Cc: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org, Larry Finger Subject: [PATCH] rtlwifi: rtl8821ae: Silence useless log output Date: Thu, 11 Feb 2016 10:56:22 -0600 Message-Id: <1455209782-12985-1-git-send-email-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.1.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP When driver rtl8821ae is loaded but not connected to any AP, it logs a "firmware not ready to run" message roughly once a minute. To eliminate logging this massage under normal debug conditions, the degug level needed to print this message is increased. Signed-off-by: Larry Finger --- Kalle, This patch is intended for kernel 4.6. Signed-off-by: Larry Finger --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c index 525eb23..a4fc70e 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c @@ -271,7 +271,7 @@ int rtl8821ae_download_fw(struct ieee80211_hw *hw, bool buse_wake_on_wlan_fw) err = _rtl8821ae_fw_free_to_go(hw); if (err) { - RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, + RT_TRACE(rtlpriv, COMP_ERR, DBG_DMESG, "Firmware is not ready to run!\n"); } else { RT_TRACE(rtlpriv, COMP_FW, DBG_LOUD,