Return-Path: Received: from smtp.codeaurora.org ([198.145.29.96]:35648 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729382AbeLMNqG (ORCPT ); Thu, 13 Dec 2018 08:46:06 -0500 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH wireless-drivers] brcmfmac: fix roamoff=1 modparam From: Kalle Valo In-Reply-To: <20181204182905.32267-1-stijn@linux-ipv6.be> References: <20181204182905.32267-1-stijn@linux-ipv6.be> To: Stijn Tintel Cc: linux-wireless@vger.kernel.org, arend.vanspriel@broadcom.com, Stable , Jonas Gorski Message-Id: <20181213134605.5F09D60312@smtp.codeaurora.org> Date: Thu, 13 Dec 2018 13:46:05 +0000 (UTC) Sender: stable-owner@vger.kernel.org List-ID: Stijn Tintel wrote: > When the update_connect_param callback is set, nl80211 expects the flag > WIPHY_FLAG_SUPPORTS_FW_ROAM to be set as well. However, this flag is > only set when modparam roamoff=0, while the callback is set > unconditionally. Since commit 7f9a3e150ec7 this causes a warning in > wiphy_register, which breaks brcmfmac. > > Disable the update_connect_param callback when roamoff=0 to fix this. > > Fixes: 7f9a3e150ec7 ("nl80211: Update ERP info using NL80211_CMD_UPDATE_CONNECT_PARAMS") > Cc: Stable # 4.19+ > Signed-off-by: Jonas Gorski > Signed-off-by: Stijn Tintel Should this go to 4.20? Arend? -- https://patchwork.kernel.org/patch/10712383/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches