Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2705156pxj; Mon, 31 May 2021 08:41:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7sFvr5zYaJ2jJ6Z1OdVl76IAq5DedaNaly7BpUjU1jvM/XsnBlSyXjeBO10bRf7rCcCsk X-Received: by 2002:aa7:cad4:: with SMTP id l20mr25762580edt.382.1622475662008; Mon, 31 May 2021 08:41:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622475662; cv=none; d=google.com; s=arc-20160816; b=QD186dXPpZU2puOwbqRiBcQbP9Inuyqpqr+19gapVlN/eCiz9YyottJXSfT1v01JFX quxTZcaScNTiq6OF+FIyX/1Y32jPN8B38exq9WOBi4F8bFlE36WJqiPNpDp7debVflgJ 3awrdgCgQfYOrdAJ8VxjBMArJ+JhcVsTcHg+hPkF4LYN6lwc4A/oFRoxLcAqWtOahjse LgeOmNq2azBPhWv2CvF+yhFB73ZXMjuUO4B2FgWcgqSnPdpjY2SBKTYxp/z2zdwCGxfk SCb6N8kUtZx7sjBSP0zqxw3hI5HFG7dOJ4k/HMId8AiY1SfJeIhSvF/u2Gcrpyygf4P2 cgyg== 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=Z1Fwxgqrx30IWKIcCzyv4wIkJcBHN1eK/+1+XZReAZk=; b=x0H/VmkuMYzFnvB39wqHT1RQ1olLSQLLoWKxe9yUP/T+Jxg5wAwkE4MLE7+XP3FeLS u2PsUrVzgSwspv2ZA1FnucXODx5xk246Z8nkoofpVwk9uY9J8+X0m8qVa1hvDLoEI/bY 9M8mlCMFUJirNK7DHURevp6jz3jAEZIhREYGsw8AkNvrbKOoBDP0HOoRBYj0heZWWKnG Dk+B66g4WMZJ/KT9qKIIpiHRy/s5wJ+BXQk4r86zOdh0wj/7GQnB8dKCq9tjckLEB8q9 9VIdKUd4oYTTVPdFNW4a8xxJoETuTcl5uusv6lI2dKi/esUfuM7LU2jFkN0QF2xg5gUH Cm6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YLugF+ey; 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=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 h11si3449468edz.24.2021.05.31.08.40.39; Mon, 31 May 2021 08:41:01 -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=@linuxfoundation.org header.s=korg header.b=YLugF+ey; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233086AbhEaPlY (ORCPT + 99 others); Mon, 31 May 2021 11:41:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:47640 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231717AbhEaOXB (ORCPT ); Mon, 31 May 2021 10:23:01 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 32792613AE; Mon, 31 May 2021 13:45:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622468723; bh=CaRJbwEvVyUIgOBqZyWjNDLt31TvcBOvLoCPxtKykGU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YLugF+eypoI3y2CtqsRVmN+XFhNYb4AOitExJ543EO4tQukPV1PD6AobHWImscjcx 9ji2/peHeOelmmmzFywDI8NN6tAxaXy/s7zWCi6SlEdrwQuNK4OrUACfX22WPpOq+Y ZTaRwenwzNjngEeLBK/sPN4ElRt/Knit82M7DO+E= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kangjie Lu , Kalle Valo , Sasha Levin Subject: [PATCH 5.4 103/177] Revert "ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd()" Date: Mon, 31 May 2021 15:14:20 +0200 Message-Id: <20210531130651.462074727@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130647.887605866@linuxfoundation.org> References: <20210531130647.887605866@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: Greg Kroah-Hartman [ Upstream commit efba106f89fc6848726716c101f4c84e88720a9c ] This reverts commit fc6a6521556c8250e356ddc6a3f2391aa62dc976. Because of recent interactions with developers from @umn.edu, all commits from them have been recently re-reviewed to ensure if they were correct or not. Upon review, this commit was found to be incorrect for the reasons below, so it must be reverted. It will be fixed up "correctly" in a later kernel change. The change being reverted does NOTHING as the caller to this function does not even look at the return value of the call. So the "claim" that this fixed an an issue is not true. It will be fixed up properly in a future patch by propagating the error up the stack correctly. Cc: Kangjie Lu Cc: Kalle Valo Link: https://lore.kernel.org/r/20210503115736.2104747-43-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/net/wireless/ath/ath6kl/wmi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath6kl/wmi.c b/drivers/net/wireless/ath/ath6kl/wmi.c index c610fe21c85c..d27b4088b874 100644 --- a/drivers/net/wireless/ath/ath6kl/wmi.c +++ b/drivers/net/wireless/ath/ath6kl/wmi.c @@ -776,8 +776,10 @@ int ath6kl_wmi_set_roam_lrssi_cmd(struct wmi *wmi, u8 lrssi) cmd->info.params.roam_rssi_floor = DEF_LRSSI_ROAM_FLOOR; cmd->roam_ctrl = WMI_SET_LRSSI_SCAN_PARAMS; - return ath6kl_wmi_cmd_send(wmi, 0, skb, WMI_SET_ROAM_CTRL_CMDID, + ath6kl_wmi_cmd_send(wmi, 0, skb, WMI_SET_ROAM_CTRL_CMDID, NO_SYNC_WMIFLAG); + + return 0; } int ath6kl_wmi_force_roam_cmd(struct wmi *wmi, const u8 *bssid) -- 2.30.2