summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>2025-06-12 14:48:55 +0300
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>2025-06-25 10:57:33 +0300
commit877924979ef0c696ff3f9eecbb6e79d831f13fdf (patch)
treebf690cdc2791c61796c0f45869961e695d72e65b
parent9feeb4caec93fdf838f23faa6e3f3b9c2f97f99c (diff)
wifi: iwlwifi: mld: make iwl_mld_add_all_rekeys void
No one checks its return value anyway. Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250612144708.4c38fb4c48f4.Ia62100a54370b6af5e528ba10c8f21e177018096@changeid
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mld/d3.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mld/d3.c b/drivers/net/wireless/intel/iwlwifi/mld/d3.c
index b156cf56a30d..d9af9a2b1e6b 100644
--- a/drivers/net/wireless/intel/iwlwifi/mld/d3.c
+++ b/drivers/net/wireless/intel/iwlwifi/mld/d3.c
@@ -868,7 +868,7 @@ iwl_mld_add_mcast_rekey(struct ieee80211_vif *vif,
return true;
}
-static bool
+static void
iwl_mld_add_all_rekeys(struct ieee80211_vif *vif,
struct iwl_mld_wowlan_status *wowlan_status,
struct iwl_mld_resume_key_iter_data *key_iter_data,
@@ -881,21 +881,19 @@ iwl_mld_add_all_rekeys(struct ieee80211_vif *vif,
&wowlan_status->gtk[i],
link_conf,
key_iter_data->gtk_cipher))
- return false;
+ return;
if (!iwl_mld_add_mcast_rekey(vif, key_iter_data->mld,
&wowlan_status->igtk,
link_conf, key_iter_data->igtk_cipher))
- return false;
+ return;
for (i = 0; i < ARRAY_SIZE(wowlan_status->bigtk); i++)
if (!iwl_mld_add_mcast_rekey(vif, key_iter_data->mld,
&wowlan_status->bigtk[i],
link_conf,
key_iter_data->bigtk_cipher))
- return false;
-
- return true;
+ return;
}
static bool