mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
wifi: iwlwifi: mvm: make iwl_mvm_mac_ctxt_send_beacon() static
We never needed this to be non-static, that was just an artifact of the development process. Make it static. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230414130637.3c018c15f948.I87fd1aee288f33312a7206492608002d4e8e213e@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
0c9a8f9084
commit
7035b5baae
2 changed files with 4 additions and 8 deletions
|
@ -1102,10 +1102,10 @@ static int iwl_mvm_mac_ctxt_send_beacon_v9(struct iwl_mvm *mvm,
|
||||||
sizeof(beacon_cmd));
|
sizeof(beacon_cmd));
|
||||||
}
|
}
|
||||||
|
|
||||||
int iwl_mvm_mac_ctxt_send_beacon(struct iwl_mvm *mvm,
|
static int iwl_mvm_mac_ctxt_send_beacon(struct iwl_mvm *mvm,
|
||||||
struct ieee80211_vif *vif,
|
struct ieee80211_vif *vif,
|
||||||
struct sk_buff *beacon,
|
struct sk_buff *beacon,
|
||||||
struct ieee80211_bss_conf *link_conf)
|
struct ieee80211_bss_conf *link_conf)
|
||||||
{
|
{
|
||||||
if (WARN_ON(!beacon))
|
if (WARN_ON(!beacon))
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
|
@ -1780,10 +1780,6 @@ int iwl_mvm_mac_ctxt_remove(struct iwl_mvm *mvm, struct ieee80211_vif *vif);
|
||||||
int iwl_mvm_mac_ctxt_beacon_changed(struct iwl_mvm *mvm,
|
int iwl_mvm_mac_ctxt_beacon_changed(struct iwl_mvm *mvm,
|
||||||
struct ieee80211_vif *vif,
|
struct ieee80211_vif *vif,
|
||||||
struct ieee80211_bss_conf *link_conf);
|
struct ieee80211_bss_conf *link_conf);
|
||||||
int iwl_mvm_mac_ctxt_send_beacon(struct iwl_mvm *mvm,
|
|
||||||
struct ieee80211_vif *vif,
|
|
||||||
struct sk_buff *beacon,
|
|
||||||
struct ieee80211_bss_conf *link_conf);
|
|
||||||
int iwl_mvm_mac_ctxt_send_beacon_cmd(struct iwl_mvm *mvm,
|
int iwl_mvm_mac_ctxt_send_beacon_cmd(struct iwl_mvm *mvm,
|
||||||
struct sk_buff *beacon,
|
struct sk_buff *beacon,
|
||||||
void *data, int len);
|
void *data, int len);
|
||||||
|
|
Loading…
Add table
Reference in a new issue