Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp548701rwd; Wed, 31 May 2023 01:58:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5bGCCyfxJrIyUjSohvdvbOQo5JhwzdE78bbT4VkLE/bV4bCfERlfa2+k4UOUMgjwpOFUM6 X-Received: by 2002:a17:902:b215:b0:1b0:25d2:6f11 with SMTP id t21-20020a170902b21500b001b025d26f11mr4022288plr.17.1685523536212; Wed, 31 May 2023 01:58:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685523536; cv=none; d=google.com; s=arc-20160816; b=aupKPfqfbB28RbtHI5pcTQORpllc3HrKS/ARdLEzFCFTQVEktrdGnW+Tfz842vOykF 83JjzGUY5SU6K/we5j9DvUePRLxwUXGfc1um11i0R3fRxnqXcHScHRdB1XuzIqKFU83T iOIvYgpoLGXJqP+dViL8sJVIsq8fXPhS/LnJ/5d+Vmt2VG+cGAJL6qV2wXxHHobnVIdW ty+oqbWU9QeQGyIHyjmJ2N1+fzVkSU+YKXf4/mX89fPp+KZi2wgzf5mOQACgqxkTW5oY G8NreKvOHR78CpB2zhZGhw/v6m0a0de8McrQh2EL0inNbGDu/zcnNoTeKoaoc4A4BB9b xWLg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=O5S2o8eoU+RWMAhETr+UEaRj+9mI2aOl4wXewN0+eWE=; b=IM8x/JnLJ3B7mEdVYBJyZIhCpe0dG+2A0/TWp0oeagwCOYAwSgqVefGYM8sn6Mag53 HliOTmTrb5KHnxdhLksaxhm41HKYYhdaQ+Jp0Inlmr+M6jSBBhA/0ajiWaqraaglIni9 bgRHNTcbIaolXcBgy7a0JlqxtWdC5tFTJywAGi8KM2FgUvniYzY9ZXMu0aBSME8uU4iQ iqPweoXI/DznYDr/cxMu2guENLoFN+R5IgcmtX68TDqX+PgqYqyUJ9tLp4LfTvq5aHqD reA3K6YGSLiEjLo+Veqp6rZFx2DzNrRJ1YmmX5XPnNKCFCh8GXhWX6PwzvJUcn7xw5ax kJIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=e62c5Cgs; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x1-20020a170902fe8100b001ae4a01a7e0si545229plm.236.2023.05.31.01.58.46; Wed, 31 May 2023 01:58:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=e62c5Cgs; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234834AbjEaIvl (ORCPT + 64 others); Wed, 31 May 2023 04:51:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235250AbjEaIuy (ORCPT ); Wed, 31 May 2023 04:50:54 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2CA21BD for ; Wed, 31 May 2023 01:50:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685523052; x=1717059052; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=vWdM2+NCYgFVq1uDxsl6B+Zff7acYFH8PTB4NEF/2AY=; b=e62c5Cgs97d6kLwOFjCaA31b9JHDYWfKbQOR13Y5CbY7u+cFN+qdKc/q nLof0SxJoHSD0/T1wen8jSUUHCdH2Tjp4YLr0QABzNsptDAG4ERyQLOBa mccI/NmvVg1tIxElcJJ9uWXMUmJ/Vv9kzsUgDr9fh6MRyvYI/+DPHS51v zR+c6E7C7nuJ49VHmrHGRwZw16NsKUgHaRpZD7MnJ8S0fFqxC4ZsdwWh3 tJEC0STtWXwljvHol07Kj4rg9qysyF/5yLLHZAmyfFt6GpSQJQRp4uR4Z hTG1+c1S6JDKSEsK4ecZcZ2JMDWc930+yW+GNcNjRqHa08waCERh2a+rM g==; X-IronPort-AV: E=McAfee;i="6600,9927,10726"; a="354023944" X-IronPort-AV: E=Sophos;i="6.00,205,1681196400"; d="scan'208";a="354023944" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2023 01:50:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10726"; a="701027059" X-IronPort-AV: E=Sophos;i="6.00,205,1681196400"; d="scan'208";a="701027059" Received: from amilman1-mobl1.ger.corp.intel.com (HELO ggreenma-mobl2.lan) ([10.214.215.102]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2023 01:50:50 -0700 From: gregory.greenman@intel.com To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Avraham Stern , Gregory Greenman Subject: [PATCH wireless] wifi: iwlwifi: iwlmei: fix compilation error Date: Wed, 31 May 2023 11:50:33 +0300 Message-Id: <20230531085033.216028-1-gregory.greenman@intel.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Avraham Stern The feature is still disabled (depends on BROKEN), but the code had a compilation error after one of the merges. Fix that. Signed-off-by: Avraham Stern Signed-off-by: Gregory Greenman --- drivers/net/wireless/intel/iwlwifi/mei/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mei/main.c b/drivers/net/wireless/intel/iwlwifi/mei/main.c index 0a29fb013005..54445f39fd55 100644 --- a/drivers/net/wireless/intel/iwlwifi/mei/main.c +++ b/drivers/net/wireless/intel/iwlwifi/mei/main.c @@ -1791,9 +1791,8 @@ int iwl_mei_register(void *priv, const struct iwl_mei_ops *ops) if (iwl_mei_is_connected()) { if (mei->amt_enabled) iwl_mei_send_sap_msg(mei->cldev, - SAP_MSG_NOTIF_WIFIDR_UP, - false); - ops->rfkill(priv, mei->link_prot_state); + SAP_MSG_NOTIF_WIFIDR_UP); + ops->rfkill(priv, mei->link_prot_state, false); } } ret = 0; -- 2.38.1