From patchwork Fri Jan 23 17:10:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 5696761 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 C9858C058D for ; Fri, 23 Jan 2015 17:11:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CF2A92013D for ; Fri, 23 Jan 2015 17:11:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8D4F320259 for ; Fri, 23 Jan 2015 17:11:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756303AbbAWRLB (ORCPT ); Fri, 23 Jan 2015 12:11:01 -0500 Received: from mail-oi0-f42.google.com ([209.85.218.42]:39410 "EHLO mail-oi0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756055AbbAWRKx (ORCPT ); Fri, 23 Jan 2015 12:10:53 -0500 Received: by mail-oi0-f42.google.com with SMTP id i138so5533647oig.1; Fri, 23 Jan 2015 09:10:53 -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=clz4kb6AtAvi5VOc3hH/TpaxsEP2oQwcW6zEr+p9hRDWbMLN1iP7TYt1VSjo1/MqZq TpWYI3I8n+aWbwRj1refjIHZWaWy7TWg5JXkbQIcL+hiodz9aMZJHtGiRG9RfKpitVwK fvDYWipkD6/8svcMatFT67I1wNOlafe1HqBkyVgHkrPbmKfQeELQMmSKJ0r5V0cH59XE WXaS4pDT8pMPDg0Jslw9WpbKgRZJ7U4MJL/vPXoVSR89VvzpnmdRrLrUlerD57TRW+wJ o/tzVTMK+oVpXHBXkrL+HOqeZoaeSCGSwpAVc09wFc/3Ck8CSHIKnJfIhXcByfeNziHo E1yQ== X-Received: by 10.60.16.230 with SMTP id j6mr2016844oed.8.1422033053281; Fri, 23 Jan 2015 09:10:53 -0800 (PST) Received: from linux.site ([69.76.245.152]) by mx.google.com with ESMTPSA id s10sm988055oeo.3.2015.01.23.09.10.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Jan 2015 09:10:52 -0800 (PST) From: Larry Finger To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, Larry Finger , netdev@vger.kernel.org Subject: [PATCH 1/6] rtlwifi: Change logging level for key change Date: Fri, 23 Jan 2015 11:10:39 -0600 Message-Id: <1422033044-7461-2-git-send-email-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1422033044-7461-1-git-send-email-Larry.Finger@lwfinger.net> References: <1422033044-7461-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;