Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp525277pxx; Wed, 28 Oct 2020 10:17:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVFG5f0+Y6/eYUV00jkorMO0LY4440L9bhasl/5sft17l0yhFB+OJ63d54AfriIkLSEw6y X-Received: by 2002:a50:e686:: with SMTP id z6mr8823126edm.188.1603905433831; Wed, 28 Oct 2020 10:17:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603905433; cv=none; d=google.com; s=arc-20160816; b=XQZSwjWx4NwNY9rwf8m5Lt9ZkoR/B+n+HfOofIhJrVgiMr5FtRogm7J8LbVnvrSuBy wvecKLChhcx7ufHFAitjfji4hiDeG8rdpwfMmLW7PjOP6T0rucgRiTb3z6720j73Mv2m prutZopOXiv/qtyhwYRBe8oy0WKhst5JaaAw5EhjJvcriN1Gb+lbF86bKdwoiHyp7Kp3 VJ90jqzLlTyfH8Y52g+/8q7stIW9kTeE4WmAyHXGINeb/4Z3LzoEli4sUcPkSCrzyjJ4 d20umjMD+JBqKzWkZAOPEl/QoBpSgbnCawIPpRoeDA9TFJzTsz0ayzNFQLxmt7vB8siM ScfA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=tnZZadq+jp4HvJPvUck9E3At+/+/GGK6I8/o9aJL35Y=; b=gvKSW7+4Qpi7pREUfCksfxF41ltuKHS+/vAsreAOJCm3qh/pDnPRFNfSXmlPnqzvy/ P7ox2jJBVNu0WGNWQL50HjN4LD3BrtIRRS/WbWG1LrxBv6WZ+mxvsNqf6L6zIPhulc84 b/PDqMMxLSYIrKP9N2JCxy/poMgnAy//BdOKSxKIB1a2FIErEEt8xbrw0VGMt9UFSwZj f+9wt+kpleyQC7CMQm9V/eJA6abcWVacNe4j8m6vjdgKznBbcfBK4dCuryKj01KV5rzf j4f5rZyyzxsITysraU4Wi7htH8Rhvw72aaAxeoYJJV4z76afg1S4Q1HXWHlNtpj3T0Id 9PgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RytIUMCB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (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 c8si22307edl.252.2020.10.28.10.16.50; Wed, 28 Oct 2020 10:17:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=default header.b=RytIUMCB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1820643AbgJ0Rgy (ORCPT + 99 others); Tue, 27 Oct 2020 13:36:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:35412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760804AbgJ0Ogd (ORCPT ); Tue, 27 Oct 2020 10:36:33 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A731C2222C; Tue, 27 Oct 2020 14:36:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603809392; bh=hZ7gd0AfcfRYq0EOQUsHs1ZqsOn6ncwDMHF6lQ2LrWw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RytIUMCBnIl8Ip4n7wTYZF2WTBO9v25C2RvUUuxo8bL74+diTSXAjVka8+tN2d1ML 2MUiIvklkjGcFj089lpr99kduqElbnDiybPJiKLJh28XGLe8lr4S7wTOfmaAHRkS9a AMyPpqNftyPzcSkJlEPdZ4FtCzNOaFcglwjZVgiw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Emmanuel Grumbach , Luca Coelho , Sasha Levin Subject: [PATCH 5.4 178/408] iwlwifi: mvm: split a print to avoid a WARNING in ROC Date: Tue, 27 Oct 2020 14:51:56 +0100 Message-Id: <20201027135503.358943552@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135455.027547757@linuxfoundation.org> References: <20201027135455.027547757@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Emmanuel Grumbach [ Upstream commit 903b3f9badf1d54f77b468b96706dab679b45b14 ] A print in the remain on channel code was too long and caused a WARNING, split it. Signed-off-by: Emmanuel Grumbach Fixes: dc28e12f2125 ("iwlwifi: mvm: ROC: Extend the ROC max delay duration & limit ROC duration") Signed-off-by: Luca Coelho Link: https://lore.kernel.org/r/iwlwifi.20200930102759.58d57c0bdc68.Ib06008665e7bf1199c360aa92691d9c74fb84990@changeid Signed-off-by: Luca Coelho Signed-off-by: Sasha Levin --- drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c index ed92a8e8cd519..01b26b3327b01 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c @@ -3650,9 +3650,12 @@ static int iwl_mvm_send_aux_roc_cmd(struct iwl_mvm *mvm, tail->apply_time_max_delay = cpu_to_le32(delay); IWL_DEBUG_TE(mvm, - "ROC: Requesting to remain on channel %u for %ums (requested = %ums, max_delay = %ums, dtim_interval = %ums)\n", - channel->hw_value, req_dur, duration, delay, - dtim_interval); + "ROC: Requesting to remain on channel %u for %ums\n", + channel->hw_value, req_dur); + IWL_DEBUG_TE(mvm, + "\t(requested = %ums, max_delay = %ums, dtim_interval = %ums)\n", + duration, delay, dtim_interval); + /* Set the node address */ memcpy(tail->node_addr, vif->addr, ETH_ALEN); -- 2.25.1