From patchwork Mon Jan 26 20:42:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 5712541 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C94309F302 for ; Mon, 26 Jan 2015 20:42:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 18C8E20145 for ; Mon, 26 Jan 2015 20:42:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 464852011D for ; Mon, 26 Jan 2015 20:42:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756791AbbAZUmh (ORCPT ); Mon, 26 Jan 2015 15:42:37 -0500 Received: from mail-ob0-f175.google.com ([209.85.214.175]:34980 "EHLO mail-ob0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751517AbbAZUmd (ORCPT ); Mon, 26 Jan 2015 15:42:33 -0500 Received: by mail-ob0-f175.google.com with SMTP id wp4so9913017obc.6; Mon, 26 Jan 2015 12:42:32 -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:in-reply-to:references; bh=nxaDHXFkpf56fRBy/UcyQ4BtrMJMS4y8H3hNkxIleSo=; b=ncrlO8JlJAL4awLjpxuMPNUzxY3lFfpgr69sCqoH+raG+4ypYj+3JlJvt5WPzCowV5 RkCTkKLwHwfNtvDvSp/xjCQ5PQEegtyz9cDF4b9sw3plawEgSOfwyiAgx3c+sGftkM09 twxLVu41itMMC9r7ng9MzvVqjwWxTb6dY46pifXQOEkiHVXeXBTqPs59ojfKckbdSgBA RZfuZNoQ6mBvIHWB5XhnPfb3c19/TZfLDxX9X2QdPouyET5yJGHeO2La10fduRRBRVSJ Nmg7cF5e349i/pJxU8mST/UchCVivffmpxzN5qkl+T68zTGSTVZxBc66hRwVu1awOYuR Ak8g== X-Received: by 10.60.70.169 with SMTP id n9mr13793547oeu.67.1422304952537; Mon, 26 Jan 2015 12:42:32 -0800 (PST) Received: from linux.site ([69.76.245.152]) by mx.google.com with ESMTPSA id z1sm5865169obe.5.2015.01.26.12.42.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Jan 2015 12:42:31 -0800 (PST) From: Larry Finger To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, Larry Finger , netdev@vger.kernel.org Subject: [PATCH V2 1/6] rtlwifi: Change logging level for key change Date: Mon, 26 Jan 2015 14:42:09 -0600 Message-Id: <1422304934-9239-2-git-send-email-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1422304934-9239-1-git-send-email-Larry.Finger@lwfinger.net> References: <1422304934-9239-1-git-send-email-Larry.Finger@lwfinger.net> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,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 A recent change in key handling included logging of these changes for all debug levels. Such key changes should only be logged when a high level of debugging is enabled. Signed-off-by: Larry Finger --- drivers/net/wireless/rtlwifi/cam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/rtlwifi/cam.c b/drivers/net/wireless/rtlwifi/cam.c index 3ef870d..6e64792 100644 --- a/drivers/net/wireless/rtlwifi/cam.c +++ b/drivers/net/wireless/rtlwifi/cam.c @@ -406,7 +406,7 @@ u8 rtl_cam_get_free_entry(struct ieee80211_hw *hw, struct ieee80211_sta *sta, } } if (found) { - RT_TRACE(rtlpriv, COMP_SEC, DBG_EMERG, + RT_TRACE(rtlpriv, COMP_SEC, DBG_DMESG, "key_index=%d,cam_bitmap: 0x%x entry_idx=%d\n", key_index, rtlpriv->sec.cam_bitmap, entry_idx); return entry_idx;