mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 06:41:39 -04:00
wifi: iwlwifi: mld: make iwl_mld_mac80211_iftype_to_fw() static
This function is only used within the file, so make it static. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20260320100746.45867b060b3d.Iee64056fab7881ea5146433bacef8c2e936c45b1@changeid
This commit is contained in:
committed by
Miri Korenblit
parent
4a48172010
commit
d86aeb5f6f
@@ -74,7 +74,7 @@ static int iwl_mld_send_mac_cmd(struct iwl_mld *mld,
|
||||
return ret;
|
||||
}
|
||||
|
||||
int iwl_mld_mac80211_iftype_to_fw(const struct ieee80211_vif *vif)
|
||||
static int iwl_mld_mac80211_iftype_to_fw(const struct ieee80211_vif *vif)
|
||||
{
|
||||
switch (vif->type) {
|
||||
case NL80211_IFTYPE_STATION:
|
||||
|
||||
@@ -219,8 +219,6 @@ iwl_mld_link_from_mac80211(struct ieee80211_bss_conf *bss_conf)
|
||||
return iwl_mld_link_dereference_check(mld_vif, bss_conf->link_id);
|
||||
}
|
||||
|
||||
int iwl_mld_mac80211_iftype_to_fw(const struct ieee80211_vif *vif);
|
||||
|
||||
/* Cleanup function for struct iwl_mld_vif, will be called in restart */
|
||||
void iwl_mld_cleanup_vif(void *data, u8 *mac, struct ieee80211_vif *vif);
|
||||
int iwl_mld_mac_fw_action(struct iwl_mld *mld, struct ieee80211_vif *vif,
|
||||
|
||||
Reference in New Issue
Block a user