From patchwork Tue Jan 3 12:41:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arend van Spriel X-Patchwork-Id: 13087438 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C04B8C3DA7D for ; Tue, 3 Jan 2023 12:41:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237535AbjACMl1 (ORCPT ); Tue, 3 Jan 2023 07:41:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237550AbjACMlZ (ORCPT ); Tue, 3 Jan 2023 07:41:25 -0500 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C07BD10563 for ; Tue, 3 Jan 2023 04:41:23 -0800 (PST) Received: by mail-qt1-x830.google.com with SMTP id jr11so24404989qtb.7 for ; Tue, 03 Jan 2023 04:41:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=VUPukJIvEap1GPgK0YPNL+xnyIbnpl5GyXHGADPoRVU=; b=UnIBR762LUVOaMuWbqJRClFOKnpORog4t+EuyK9AqEHNvQEgNtWw5ZUipaVYwr1HTA ByUAoVfGARzdFm2Y1YLfWFYan7Rd0vcdOi9veCyCw3+vV8etnLbWIzG6oSnqJIU4rvTb 0Pdeju9CRh+dKeojKmMlEWecqBM05FlrPynmg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=VUPukJIvEap1GPgK0YPNL+xnyIbnpl5GyXHGADPoRVU=; b=6G/xXFgSsSbA7RZWdhGv5YOhSOh1GHxCYwkkKsPHZ3H7RXbiQpb3qlSdIgay2pLGaZ 2ZoDwv98dFAy6VOeVWWw7jPJauhnr38OMkN3IPtpKaygar0C1X0xUC9uu8bg55fIcnJd 6R0jkY1x1/dc4LWE5wnv1LSpXhxxoC/Wi7UO8KlQb5P/b45CeEhiYodbT65Mnxrc4ZW2 a8Pj2khiq9d9QXWctaZkAzozS4mqeGbheAA+w07GLvEfBbk6bFFNqd0EzOXbVIvAf7xH JTg7pZ3On7yP6JaNY9tUwO5/HBW4mV6esp9XDjSxplcOdE187tbU0im3f/x5DJbvWomb PzCQ== X-Gm-Message-State: AFqh2kqZoXDBuMx5h8bYjntbpSHc1BqOdY/f7kpSPB0w+p1KFm0X/Nlp vvhx319NNOo2ooEpWVTBo7QgkFlB+ohaAtrq X-Google-Smtp-Source: AMrXdXucqMIRgoSMY7/RGzBtw5giWf9ZF5eoLkKIn3CNS/BtTwj82pl/hyKPretO2aA4DqtQfDIqjA== X-Received: by 2002:ac8:7396:0:b0:3a7:f091:bfe with SMTP id t22-20020ac87396000000b003a7f0910bfemr57988873qtp.7.1672749682811; Tue, 03 Jan 2023 04:41:22 -0800 (PST) Received: from bld-bun-02.bun.broadcom.com ([192.19.148.250]) by smtp.gmail.com with ESMTPSA id t1-20020ac865c1000000b003a7e4129f83sm18439047qto.85.2023.01.03.04.41.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jan 2023 04:41:21 -0800 (PST) From: Arend van Spriel To: Kalle Valo Cc: linux-wireless@vger.kernel.org, Arend van Spriel Subject: [PATCH for-6.2 0/3] wifi: brcmfmac: regression fixes Date: Tue, 3 Jan 2023 13:41:14 +0100 Message-Id: <20230103124117.271988-1-arend.vanspriel@broadcom.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Stefan Wahren reported a minor issue where the kernel log was filled with error messages at regular interval. This happens in new functionality added in 6.2 merge window. Found a potential NULL-deref which will happen when device does not have 5GHz band. The last patch is really a cosmetic one for wireless-next, but I added it here for reference. I can resend that later when the other patches are distributed into wireless-next whenever that happens. This series applies to the main branch of the wireless repository. Arend van Spriel (3): wifi: brcmfmac: avoid handling disabled channels for survey dump wifi: brcmfmac: avoid NULL-deref in survey dump for 2G only device wifi: brcmfmac: change cfg80211_set_channel() name and signature .../broadcom/brcm80211/brcmfmac/cfg80211.c | 42 +++++++++---------- 1 file changed, 20 insertions(+), 22 deletions(-) --- 2.32.0