diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-09-10 18:01:46 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-09-15 16:48:20 -0400 |
commit | 24723d1bc9da79a53d0495b9cf9ee18747121b03 (patch) | |
tree | 083ace192a6b36dc2545caf839fbf9a79ae5d4d6 /net/mac80211/sta_info.h | |
parent | 39fcf7a315e098430e878a5c0c4d39561c93ebf6 (diff) |
mac80211: move ieee80211_sta_expire
ieee80211_sta_expire uses the internal __sta_info_unlink
function which can become static if this function is moved
to sta_info.c.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/sta_info.h')
-rw-r--r-- | net/mac80211/sta_info.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h index 4a581a5b5766..220079900991 100644 --- a/net/mac80211/sta_info.h +++ b/net/mac80211/sta_info.h | |||
@@ -452,7 +452,6 @@ int sta_info_insert(struct sta_info *sta); | |||
452 | * has already unlinked it. | 452 | * has already unlinked it. |
453 | */ | 453 | */ |
454 | void sta_info_unlink(struct sta_info **sta); | 454 | void sta_info_unlink(struct sta_info **sta); |
455 | void __sta_info_unlink(struct sta_info **sta); | ||
456 | 455 | ||
457 | void sta_info_destroy(struct sta_info *sta); | 456 | void sta_info_destroy(struct sta_info *sta); |
458 | void sta_info_set_tim_bit(struct sta_info *sta); | 457 | void sta_info_set_tim_bit(struct sta_info *sta); |
@@ -464,5 +463,7 @@ void sta_info_stop(struct ieee80211_local *local); | |||
464 | int sta_info_flush(struct ieee80211_local *local, | 463 | int sta_info_flush(struct ieee80211_local *local, |
465 | struct ieee80211_sub_if_data *sdata); | 464 | struct ieee80211_sub_if_data *sdata); |
466 | void sta_info_flush_delayed(struct ieee80211_sub_if_data *sdata); | 465 | void sta_info_flush_delayed(struct ieee80211_sub_if_data *sdata); |
466 | void ieee80211_sta_expire(struct ieee80211_sub_if_data *sdata, | ||
467 | unsigned long exp_time); | ||
467 | 468 | ||
468 | #endif /* STA_INFO_H */ | 469 | #endif /* STA_INFO_H */ |