Skip to contentSkip to conversation

wifi: iwlwifi: iwlmei: fix compilation error

PATCH New [email protected] 1 participant 1 message May 31, 2023 Intel wireless wifi link (iwlwifi)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wifi: iwlwifi: iwlmei: fix compilation error

From: Avraham Stern <[email protected]>

The feature is still disabled (depends on BROKEN), but the code had a compilation error after one of the merges. Fix that.

---
 drivers/net/wireless/intel/iwlwifi/mei/main.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/net/wireless/intel/iwlwifi/mei/main.c +2 -3
index 0a29fb013005..54445f39fd55 100644
@@ -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;
Signature · 1 line
2.38.1