Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp700671rdg; Wed, 11 Oct 2023 03:09:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFTw1EiUrSP12aDBjC/DN7iC2KaaE7npJXB9avMKOFquSwmREGnwxMfhSvFTGF6gVIEozZd X-Received: by 2002:a17:903:2287:b0:1c5:ff18:98af with SMTP id b7-20020a170903228700b001c5ff1898afmr21918448plh.4.1697018968969; Wed, 11 Oct 2023 03:09:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697018968; cv=none; d=google.com; s=arc-20160816; b=N1k+qGbDBJjWEpfG6Mm4ckdD3WLRm+3Z4lL+Y0R2nzaJND4kTAU7YJc4FkppOqDGnl oxpw6qSmv7SkRQS771y5oeEBGRa/KayTmWlo5m0xdZ+RZK6PWsQxJGkUEZ7/WfPxy1km hkOOdRGu4typpGSex074aQkl51yzc/DEbPU5Adqv7F9pjBevtUA6/MbyssW5DVwkMWJi 97KUWogk3GmVxhSYsbPCflyLEJ3QvWi2lI5XMWLZWBwt96BUgwUweZj/RRRdvWRmq71T /lxH3sYCb6o1ONbIilG4veHXG+2adxcg0XCy5XIKk1dK4YmJnNjZ6OwUv4P5fckf/pt3 /UkQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=t2NhUjUO4ZW5GgC9kWk/RUycWSlO5MNj/KR62ZiC6AE=; fh=/GEb7gVUqTR6q5QKTfw0XUP5VVlqVBkkw8R/kfrGqdo=; b=cwdk9Tb/oHeE3mTopDghLqqQ01CDwMf06R3J/Xa9Tzh2Vneof/+FnOh6R84aCreean 0gteGJERPfyuqepMzSfpAX1wnN4V4Jtk3pdoNKACC++//0gveavn1u5dQ/I4+XTs3+ay uhHJ8twZBc4+soVNjt+2RCEOTJKuyEDrF+q+zLTfnGGDtuCQXt23pYs3j31nxu1gLlRa Bdc5WR/XSJwBuKoNoUshMlICHzujcV56XsYofTeNj5t+zhtvtA92wKSWqGGKbNxMsP50 3mzPGLAXxKsJ9oWNzKtlZAIAEY2j047xaVUDhNt3V9wvxX2eNB7JmwqLyQFXIgWV85rx Lc1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TqTbawd1; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id o18-20020a170902d4d200b001a6f0eab385si15301845plg.55.2023.10.11.03.09.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 03:09:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TqTbawd1; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 57942802139D; Wed, 11 Oct 2023 03:09:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346225AbjJKKJJ (ORCPT + 52 others); Wed, 11 Oct 2023 06:09:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234583AbjJKKIr (ORCPT ); Wed, 11 Oct 2023 06:08:47 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1ED71BD7 for ; Wed, 11 Oct 2023 03:07:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697018870; x=1728554870; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=q3sGEuWUn7vJSsxn+b31vY9pKZWOXd/6TX6gRt/TXsg=; b=TqTbawd17+yk0Z4zvD/KRXw124N/Zfcx88syfRb8HGNoMIUyfvB4KdN2 +sN00HHEEGck9UI2tisa3qLvtIFxdETzY4voAY+EQWVyQTQFoTdONC9nH bmlL0Amk6Uf7spaChp1UbLEsC95Wy9ux7B/M6hpfUOK8sYSMyNS6MgiPx NQ6nQ/BDHM+eN65jsS9ojpWs+bCnI9PVMGfuXtfxd7tYI7ICQ79yhcl8a D2pqHSV3icQndGSPmucDM2vkooY/5ogZUfOphSoan+3Pzqam32q4fvwrp OITUdJUIdpA4Hp2ODdF1PLMIKSyohSW+JtrX7tUl6dLmNT4JAczAx9uHs g==; X-IronPort-AV: E=McAfee;i="6600,9927,10859"; a="415670570" X-IronPort-AV: E=Sophos;i="6.03,214,1694761200"; d="scan'208";a="415670570" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2023 03:07:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10859"; a="1001050253" X-IronPort-AV: E=Sophos;i="6.03,214,1694761200"; d="scan'208";a="1001050253" Received: from mzarix-mobl.ger.corp.intel.com (HELO ggreenma-mobl2.intel.com) ([10.249.94.125]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2023 03:07:48 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Ilan Peer , Gregory Greenman Subject: [PATCH 03/16] wifi: iwlwifi: mvm: Fix unreachable code path Date: Wed, 11 Oct 2023 13:07:18 +0300 Message-Id: <20231011130030.39d76eeea781.I2dc1fc6152a2cd4cf68827f4d3bf83e2293d3dfb@changeid> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20231011100731.361200-1-gregory.greenman@intel.com> References: <20231011100731.361200-1-gregory.greenman@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 11 Oct 2023 03:09:18 -0700 (PDT) X-Spam-Level: ** From: Ilan Peer Fix unreachable code path that was introduced in the P2P Device linking refactoring. Signed-off-by: Ilan Peer Signed-off-by: Gregory Greenman --- drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c index 56945047e4f6..f33c8a00d326 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c @@ -1637,11 +1637,6 @@ static int iwl_mvm_mac_add_interface(struct ieee80211_hw *hw, goto out_unlock; - if (mvm->bf_allowed_vif == mvmvif) { - mvm->bf_allowed_vif = NULL; - vif->driver_flags &= ~(IEEE80211_VIF_BEACON_FILTER | - IEEE80211_VIF_SUPPORTS_CQM_RSSI); - } out_remove_mac: mvmvif->deflink.phy_ctxt = NULL; iwl_mvm_mac_ctxt_remove(mvm, vif); -- 2.38.1