From patchwork Mon Mar 30 08:28:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Kondratiev X-Patchwork-Id: 6118831 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 589739F389 for ; Mon, 30 Mar 2015 08:29:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 96F0E2035C for ; Mon, 30 Mar 2015 08:29:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AA1B22035E for ; Mon, 30 Mar 2015 08:29:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753215AbbC3I3W (ORCPT ); Mon, 30 Mar 2015 04:29:22 -0400 Received: from wolverine01.qualcomm.com ([199.106.114.254]:3625 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753157AbbC3I3T (ORCPT ); Mon, 30 Mar 2015 04:29:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qca.qualcomm.com; i=@qca.qualcomm.com; q=dns/txt; s=qcdkim; t=1427704160; x=1459240160; h=from:cc:to:subject:date:message-id:in-reply-to: references; bh=Q9prFYthnmBtZ9aly/jGMSqMugz9zi++QlXImesbDBo=; b=A9GzYOUd+B7PxRDVJ0gB8p5PJRLh4wRnumKE8kV3y4hd+7Pn7mAlSZyJ S0Y1qyLzFGr/cvKWcfuHPBQWj3JsA2dtri5Bg0OQok6sUspaMCEdTryUB T229KJ1++lk59w4jBLOUJo2Z/nGFE8+oIPKot+My35vJoBexRFpOGMj55 I=; X-IronPort-AV: E=McAfee;i="5700,7163,7755"; a="110874627" Received: from ironmsg04-r.qualcomm.com ([172.30.46.18]) by wolverine01.qualcomm.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 30 Mar 2015 01:29:04 -0700 From: Vladimir Kondratiev Cc: Vladimir Kondratiev , linux-wireless@vger.kernel.org, wil6210@qca.qualcomm.com X-IronPort-AV: E=Sophos;i="5.11,492,1422950400"; d="scan'208";a="936508456" Received: from lx-wigig-72.mea.qualcomm.com ([10.18.176.38]) by Ironmsg04-R.qualcomm.com with ESMTP; 30 Mar 2015 01:29:02 -0700 To: Kalle Valo Subject: [PATCH 2/5] wil6210: debug [add|del]_key operations Date: Mon, 30 Mar 2015 11:28:51 +0300 Message-Id: <1427704134-30699-3-git-send-email-qca_vkondrat@qca.qualcomm.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1427704134-30699-1-git-send-email-qca_vkondrat@qca.qualcomm.com> References: <1427704134-30699-1-git-send-email-qca_vkondrat@qca.qualcomm.com> 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=unavailable 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 Provide info for [add|del]_key. Signed-off-by: Vladimir Kondratiev --- drivers/net/wireless/ath/wil6210/cfg80211.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/wireless/ath/wil6210/cfg80211.c b/drivers/net/wireless/ath/wil6210/cfg80211.c index 8f7596f..d027a7f 100644 --- a/drivers/net/wireless/ath/wil6210/cfg80211.c +++ b/drivers/net/wireless/ath/wil6210/cfg80211.c @@ -569,6 +569,9 @@ static int wil_cfg80211_add_key(struct wiphy *wiphy, { struct wil6210_priv *wil = wiphy_to_wil(wiphy); + wil_dbg_misc(wil, "%s(%pM[%d] %s)\n", __func__, mac_addr, key_index, + pairwise ? "PTK" : "GTK"); + /* group key is not used */ if (!pairwise) return 0; @@ -584,6 +587,9 @@ static int wil_cfg80211_del_key(struct wiphy *wiphy, { struct wil6210_priv *wil = wiphy_to_wil(wiphy); + wil_dbg_misc(wil, "%s(%pM[%d] %s)\n", __func__, mac_addr, key_index, + pairwise ? "PTK" : "GTK"); + /* group key is not used */ if (!pairwise) return 0;