wifi: iwlwifi: iwlmei: fix compilation error
authorAvraham Stern <avraham.stern@intel.com>
Wed, 31 May 2023 08:50:33 +0000 (11:50 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 6 Jun 2023 11:38:21 +0000 (13:38 +0200)
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 <avraham.stern@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230531085033.216028-1-gregory.greenman@intel.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mei/main.c

index 0a29fb013005db706d977532c67fe9d20b0001e8..54445f39fd551acdc73b9f0284f1a9a09b33ba70 100644 (file)
@@ -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;