Return-Path: Received: from smtp.codeaurora.org ([198.145.29.96]:58758 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729445AbeLMQDZ (ORCPT ); Thu, 13 Dec 2018 11:03:25 -0500 From: Kalle Valo To: Stijn Tintel Cc: linux-wireless@vger.kernel.org, arend.vanspriel@broadcom.com, Stable , Jonas Gorski Subject: Re: [PATCH wireless-drivers] brcmfmac: fix roamoff=1 modparam References: <20181204182905.32267-1-stijn@linux-ipv6.be> <20181213134605.5F09D60312@smtp.codeaurora.org> Date: Thu, 13 Dec 2018 18:03:20 +0200 In-Reply-To: <20181213134605.5F09D60312@smtp.codeaurora.org> (Kalle Valo's message of "Thu, 13 Dec 2018 13:46:05 +0000 (UTC)") Message-ID: <877egd8ldj.fsf@purkki.adurom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: stable-owner@vger.kernel.org List-ID: Kalle Valo writes: > 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? I talked with Arend offline and we concluded to push this to -next. -- Kalle Valo