diff options
author | Zhao, Gang <gamerh2o@gmail.com> | 2014-03-07 22:01:24 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-03-19 16:29:56 -0400 |
commit | 2316d7b0544c4601cc852c801c93d1f451378740 (patch) | |
tree | 30e25953926c0f6e967217e4abb0d650516148a3 /net/wireless | |
parent | a0f995a561d90636120bce2e89157b537a174c92 (diff) |
cfg80211: make __cfg80211_join_ibss() static
Function __cfg80211_join_ibss() is only used in net/wireless/ibss.c,
so make it static.
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/core.h | 4 | ||||
-rw-r--r-- | net/wireless/ibss.c | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index 3975ffa8feb2..579149d0ea34 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h | |||
@@ -246,10 +246,6 @@ void cfg80211_bss_age(struct cfg80211_registered_device *dev, | |||
246 | unsigned long age_secs); | 246 | unsigned long age_secs); |
247 | 247 | ||
248 | /* IBSS */ | 248 | /* IBSS */ |
249 | int __cfg80211_join_ibss(struct cfg80211_registered_device *rdev, | ||
250 | struct net_device *dev, | ||
251 | struct cfg80211_ibss_params *params, | ||
252 | struct cfg80211_cached_keys *connkeys); | ||
253 | int cfg80211_join_ibss(struct cfg80211_registered_device *rdev, | 249 | int cfg80211_join_ibss(struct cfg80211_registered_device *rdev, |
254 | struct net_device *dev, | 250 | struct net_device *dev, |
255 | struct cfg80211_ibss_params *params, | 251 | struct cfg80211_ibss_params *params, |
diff --git a/net/wireless/ibss.c b/net/wireless/ibss.c index 349db9ddc0d1..a6b5bdad039c 100644 --- a/net/wireless/ibss.c +++ b/net/wireless/ibss.c | |||
@@ -82,10 +82,10 @@ void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, | |||
82 | } | 82 | } |
83 | EXPORT_SYMBOL(cfg80211_ibss_joined); | 83 | EXPORT_SYMBOL(cfg80211_ibss_joined); |
84 | 84 | ||
85 | int __cfg80211_join_ibss(struct cfg80211_registered_device *rdev, | 85 | static int __cfg80211_join_ibss(struct cfg80211_registered_device *rdev, |
86 | struct net_device *dev, | 86 | struct net_device *dev, |
87 | struct cfg80211_ibss_params *params, | 87 | struct cfg80211_ibss_params *params, |
88 | struct cfg80211_cached_keys *connkeys) | 88 | struct cfg80211_cached_keys *connkeys) |
89 | { | 89 | { |
90 | struct wireless_dev *wdev = dev->ieee80211_ptr; | 90 | struct wireless_dev *wdev = dev->ieee80211_ptr; |
91 | struct ieee80211_channel *check_chan; | 91 | struct ieee80211_channel *check_chan; |