diff options
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index 43ad9c81efcf..3ac2dd00d714 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h | |||
@@ -144,11 +144,6 @@ static inline struct cfg80211_internal_bss *bss_from_pub(struct cfg80211_bss *pu | |||
144 | return container_of(pub, struct cfg80211_internal_bss, pub); | 144 | return container_of(pub, struct cfg80211_internal_bss, pub); |
145 | } | 145 | } |
146 | 146 | ||
147 | static inline void cfg80211_ref_bss(struct cfg80211_internal_bss *bss) | ||
148 | { | ||
149 | kref_get(&bss->ref); | ||
150 | } | ||
151 | |||
152 | static inline void cfg80211_hold_bss(struct cfg80211_internal_bss *bss) | 147 | static inline void cfg80211_hold_bss(struct cfg80211_internal_bss *bss) |
153 | { | 148 | { |
154 | atomic_inc(&bss->hold); | 149 | atomic_inc(&bss->hold); |
@@ -325,15 +320,13 @@ int __cfg80211_mlme_auth(struct cfg80211_registered_device *rdev, | |||
325 | const u8 *bssid, | 320 | const u8 *bssid, |
326 | const u8 *ssid, int ssid_len, | 321 | const u8 *ssid, int ssid_len, |
327 | const u8 *ie, int ie_len, | 322 | const u8 *ie, int ie_len, |
328 | const u8 *key, int key_len, int key_idx, | 323 | const u8 *key, int key_len, int key_idx); |
329 | bool local_state_change); | ||
330 | int cfg80211_mlme_auth(struct cfg80211_registered_device *rdev, | 324 | int cfg80211_mlme_auth(struct cfg80211_registered_device *rdev, |
331 | struct net_device *dev, struct ieee80211_channel *chan, | 325 | struct net_device *dev, struct ieee80211_channel *chan, |
332 | enum nl80211_auth_type auth_type, const u8 *bssid, | 326 | enum nl80211_auth_type auth_type, const u8 *bssid, |
333 | const u8 *ssid, int ssid_len, | 327 | const u8 *ssid, int ssid_len, |
334 | const u8 *ie, int ie_len, | 328 | const u8 *ie, int ie_len, |
335 | const u8 *key, int key_len, int key_idx, | 329 | const u8 *key, int key_len, int key_idx); |
336 | bool local_state_change); | ||
337 | int __cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev, | 330 | int __cfg80211_mlme_assoc(struct cfg80211_registered_device *rdev, |
338 | struct net_device *dev, | 331 | struct net_device *dev, |
339 | struct ieee80211_channel *chan, | 332 | struct ieee80211_channel *chan, |
@@ -421,7 +414,8 @@ void __cfg80211_disconnected(struct net_device *dev, const u8 *ie, | |||
421 | size_t ie_len, u16 reason, bool from_ap); | 414 | size_t ie_len, u16 reason, bool from_ap); |
422 | void cfg80211_sme_scan_done(struct net_device *dev); | 415 | void cfg80211_sme_scan_done(struct net_device *dev); |
423 | void cfg80211_sme_rx_auth(struct net_device *dev, const u8 *buf, size_t len); | 416 | void cfg80211_sme_rx_auth(struct net_device *dev, const u8 *buf, size_t len); |
424 | void cfg80211_sme_disassoc(struct net_device *dev, int idx); | 417 | void cfg80211_sme_disassoc(struct net_device *dev, |
418 | struct cfg80211_internal_bss *bss); | ||
425 | void __cfg80211_scan_done(struct work_struct *wk); | 419 | void __cfg80211_scan_done(struct work_struct *wk); |
426 | void ___cfg80211_scan_done(struct cfg80211_registered_device *rdev, bool leak); | 420 | void ___cfg80211_scan_done(struct cfg80211_registered_device *rdev, bool leak); |
427 | void __cfg80211_sched_scan_results(struct work_struct *wk); | 421 | void __cfg80211_sched_scan_results(struct work_struct *wk); |