mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02:00
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
This commit is contained in:
parent
9feeb4caec
commit
877924979e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user