Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp923746pxb; Tue, 9 Feb 2021 16:51:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9cr8/EdSPN1Iky8pkPXX9qyZpMnLjFmgx4/Map3IYLr+IDHa831gui08lE2CE+kePTAC9 X-Received: by 2002:a50:9dcd:: with SMTP id l13mr823606edk.220.1612918290576; Tue, 09 Feb 2021 16:51:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612918290; cv=none; d=google.com; s=arc-20160816; b=DHlknR5FmipNNHqPaXDHP0nzfSdTwlLTR3MbeiiRlQ86nlFRSkWMx4gQT3f3rTuozJ LYIB+RdMBqL+pB8uWXzl0/IeuiyqgzPhdy/Oa1Hdk4jIrSGxNCFKcFzyRC85wmU9Iybd HyO9MvTfzq6qKPoUVLsSgxjkSooNzq6/ku/pNUbOhsE4ip6FBcTzJJ/mTx0nF7DQt+lR LbF8Tz8OjPQVzmNiM/ywa/dbJsK5CpaBMtYCtQ2o2z26rY3h+7REKIY+rrlOJjqepdEI OLafeVcloYOTKZLCe3FdmUECVs9Oe9EbLRhoPAbdAWiuLNotXBvn+7XSPGnuU9ifIkLm mB/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4ZnFgpWZW/pibsdLxTLSbnISeByhzyHarQxXUqXKzeg=; b=cz1Zq7VttNle8FHpEnEEfb+c3/5PBj7Tgb0dGLkoTJ/VcWxYv/zwTEGy6cPbCMkFST 0jT2yZwAfO9oFYbb3nbRMMgm+IUBTw3+xOGDxzswl+ir5txth0xgO35vDYGbQkyGjY13 xxZFAqPZAVbvk58mwOcTjk0CcuH5qsIQNDSdjcUSR00NNcwxP+VgCJCi6FbHwxQ43ZeE LBdn8+iKirxvA04IGCmGmIweMLSybVK9St2NTCCuPzDb4llKd1BHR8kMQGsRKKJX70nK 0qFJX835HjEYLoPKHB700Ixmeyal9W4p3e1pFstqZ6HCb0K3nsdwma6i7TqgZZzC/uQN OVxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=hItZCUkU; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n6si207208ejs.50.2021.02.09.16.51.07; Tue, 09 Feb 2021 16:51:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=hItZCUkU; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233912AbhBJAsr (ORCPT + 99 others); Tue, 9 Feb 2021 19:48:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234149AbhBJApw (ORCPT ); Tue, 9 Feb 2021 19:45:52 -0500 Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B7F5C0617AA for ; Tue, 9 Feb 2021 16:42:35 -0800 (PST) Received: by mail-ot1-x331.google.com with SMTP id l23so258487otn.10 for ; Tue, 09 Feb 2021 16:42:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4ZnFgpWZW/pibsdLxTLSbnISeByhzyHarQxXUqXKzeg=; b=hItZCUkUv3hVP0EKFKWGCHiq7LK6jTKvkwxQLRTVv+G2duyo63PGIc8YpI3DXE6v6Q 93/TWf1dv1X8blaa5DeXeJ06ryE89D1TQkJDMHeu8+4PcwShh/BskEUrk4FnAjGukA1/ b6mCu9NEcGcDsOJPB1nb3PYD86+w1ds5Zeedg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4ZnFgpWZW/pibsdLxTLSbnISeByhzyHarQxXUqXKzeg=; b=ttHfKPOkFKdDhr8/Be0RUuL5JLNOxKI1ocIUhGg/tGssiBpahmAAIifi/veKNdP2/c QThuKRJgmOclFM6fhzdjzoAeoBI6JqRC/1DW+xDjqHlaW006w38BeKe/eLpOxb+ZBJps k2z1uidNJsU5F0OPTUWLeOOtrU/tNZsCqlCsLwI4hwmz9Bw88eogPu/GNAb2D7MSdncL I9hAP/aAT2R0REbKoMTrkCOF8kbC1WomCkai2OQBco2gAMX3fIQjx+D/J8T46GPZNutd 6WRuBsnc/Qhl4zrzla+sMnsJPOvFZ65QewMkMp5JGVgreCSqG/yG3MJhPxT7jlHoCBgw tu+Q== X-Gm-Message-State: AOAM530sn4kCJ6yQQPpfsCQfukJ5MVlsN5dH5wx32zF7jJFMSSPjE6i5 YhRqZDvptjYTQUAgd6u2oWpu7Q== X-Received: by 2002:a9d:4e2:: with SMTP id 89mr259973otm.140.1612917755107; Tue, 09 Feb 2021 16:42:35 -0800 (PST) Received: from shuah-t480s.internal (c-24-9-64-241.hsd1.co.comcast.net. [24.9.64.241]) by smtp.gmail.com with ESMTPSA id s123sm103060oos.3.2021.02.09.16.42.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Feb 2021 16:42:34 -0800 (PST) From: Shuah Khan To: kvalo@codeaurora.org, davem@davemloft.net, kuba@kernel.org Cc: Shuah Khan , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/5] ath10k: change ath10k_offchan_tx_work() peer present msg to a warn Date: Tue, 9 Feb 2021 17:42:24 -0700 Message-Id: <3b1f71272d56ee1d7f567fbce13bdb56cc06d342.1612915444.git.skhan@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Based on the comment block in this function and the FIXME for this, peer being present for the offchannel tx is unlikely. Peer is deleted once tx is complete. Change peer present msg to a warn to detect this condition. Signed-off-by: Shuah Khan --- drivers/net/wireless/ath/ath10k/mac.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index e815aab412d7..53f92945006f 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -3954,9 +3954,8 @@ void ath10k_offchan_tx_work(struct work_struct *work) spin_unlock_bh(&ar->data_lock); if (peer) - /* FIXME: should this use ath10k_warn()? */ - ath10k_dbg(ar, ATH10K_DBG_MAC, "peer %pM on vdev %d already present\n", - peer_addr, vdev_id); + ath10k_warn(ar, "peer %pM on vdev %d already present\n", + peer_addr, vdev_id); if (!peer) { ret = ath10k_peer_create(ar, NULL, NULL, vdev_id, -- 2.27.0