aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@intel.com>2013-12-08 02:42:25 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-12-16 07:46:21 -0500
commit0ae07968f6de608ab02d98731747299a0cf274ea (patch)
tree876a45005262f767e60528e38f179adcf9c064e8
parent6f07d216f5662def442cb8034f45119b5a33f6ff (diff)
mac80211: make ieee80211_assign_beacon() static
This function is not used anywhere else than in cfg.c, so there's no need to export it. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--net/mac80211/cfg.c4
-rw-r--r--net/mac80211/ieee80211_i.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 8718401cbd89..df32df383f52 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -873,8 +873,8 @@ static int ieee80211_set_probe_resp(struct ieee80211_sub_if_data *sdata,
873 return 0; 873 return 0;
874} 874}
875 875
876int ieee80211_assign_beacon(struct ieee80211_sub_if_data *sdata, 876static int ieee80211_assign_beacon(struct ieee80211_sub_if_data *sdata,
877 struct cfg80211_beacon_data *params) 877 struct cfg80211_beacon_data *params)
878{ 878{
879 struct beacon_data *new, *old; 879 struct beacon_data *new, *old;
880 int new_head_len, new_tail_len; 880 int new_head_len, new_tail_len;
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 44330b8e1c14..287462875857 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1461,8 +1461,6 @@ void ieee80211_del_virtual_monitor(struct ieee80211_local *local);
1461 1461
1462bool __ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata); 1462bool __ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata);
1463void ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata); 1463void ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata);
1464int ieee80211_assign_beacon(struct ieee80211_sub_if_data *sdata,
1465 struct cfg80211_beacon_data *params);
1466 1464
1467static inline bool ieee80211_sdata_running(struct ieee80211_sub_if_data *sdata) 1465static inline bool ieee80211_sdata_running(struct ieee80211_sub_if_data *sdata)
1468{ 1466{