Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2667430pxj; Mon, 31 May 2021 07:49:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJ3BT5mX/wotx0qvYJlfY8V79x0fW50+98jsIp1/EJoTGQbl3TmnGyC9pIpxxxjc1vEzds X-Received: by 2002:a05:6402:1b09:: with SMTP id by9mr11494543edb.201.1622472564464; Mon, 31 May 2021 07:49:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622472564; cv=none; d=google.com; s=arc-20160816; b=AFP/TZQL9ss25CQxz+zEi7HlqVdtMqX5kXIu5lgSJ67sp4lcps9NpFjSgqhyxOIYAw JF1csGrFmv6VX1U59eaVYFz7EvzmGG1liiZorsQj7j7df8fX5mJqs4sj7Lh/i3dwao/5 OESDyqqGBuBWkLQhBlwnDju4QhldxaVCfVQuwmtKd/MuCwF/Bt9CfIC1IUKj0d++NzlA /iVAJlR5zBsn1bvEe022yKBa1arJSjWt7m0TrxaFA6lDK11hyAQ2p5JnQzzAKK947nEk /P3MFcHul70rNgtcfa7k31WLW9telhVLNP+tPANz+8UnpWhT7L8HUyL4lPf27IhzeHPM VLbQ== 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=vb/dTuqHJfsBCGSRM4aQX7DllEQSAsp5xAVITlQ4W5c=; b=fkDZOkMN5cy1nCdxsDki8L2+IbxaZSnR/BtPLvi9Tbt7Yf5l07U8zAIG9s0s2/1S40 XU1kSSRprT/yXMtuFKQGlgYvZUvC95yEcFy7mdfU5lsPFWOdCr8AVqsSQaWcGRgc3arn JOh4oPKwfRJtTwMz46HIH6J9OZlY8cY8qO9Va24wNvKlIJG6Zq1jQ7PII98x2l6SeQzz 0seLOIaA3Bi52ZqvPnu03w6klHVvPmeeFXkAeSuCA2hB9Gk1AZo3G9mZkWwa/uGh50pk gcXSDrcgonL80+5ziVohs+04hHylCzX/3rm85tJhv2GH+EflNcqxCe8lCRI1DXZvtM+M DmwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DSYJHdyA; 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 m18si12750863ejb.612.2021.05.31.07.49.01; Mon, 31 May 2021 07:49:24 -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=DSYJHdyA; 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 S233813AbhEaOrj (ORCPT + 99 others); Mon, 31 May 2021 10:47:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:36394 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232220AbhEaOAv (ORCPT ); Mon, 31 May 2021 10:00:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 88E7A610A1; Mon, 31 May 2021 13:36:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622468193; bh=CYQKF+DdtAEsj/IX896Zmy3CtQSrgoPkEKKP8PgHfr0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DSYJHdyAfR2ES1lFQC17Gq6y0VAt3M6I7hDQvDYdQJDnuLMz2aRVl+bOmp5UxwENx M/vBCLjtOkAbFPG7yhpLtkEeE3ww0PGx8ooJLwJc2zFdfenwdcSTWqyYw3srC7ienr vLk+NpjF8v9jSCFx/hO9qMKulp6RTZVpcYB3q+Ls= 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.10 150/252] Revert "ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd()" Date: Mon, 31 May 2021 15:13:35 +0200 Message-Id: <20210531130703.105239043@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130657.971257589@linuxfoundation.org> References: <20210531130657.971257589@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 dbc47702a268..99be0d20f9a5 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