diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2013-03-24 17:01:24 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2013-03-24 17:01:24 +0000 |
commit | d4954354949077099acba9bbaa4e326625bb14fa (patch) | |
tree | ba8e047782e4bcff68c34f0d57de2c20f5a23309 | |
parent | 949bef1e341a27ab89ae05cdd95f2aece4be7f5b (diff) |
Make ieee80211_set_tim() available from outside of ieee80211_node.c
so drivers like acx(4) can use that function directly instead of
reimplementing the function again. Requested by kettenis@ long time ago.
-rw-r--r-- | sys/net80211/ieee80211_node.c | 3 | ||||
-rw-r--r-- | sys/net80211/ieee80211_node.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c index 8ec122efc89..e8181ca9509 100644 --- a/sys/net80211/ieee80211_node.c +++ b/sys/net80211/ieee80211_node.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_node.c,v 1.77 2012/11/07 19:39:08 stsp Exp $ */ +/* $OpenBSD: ieee80211_node.c,v 1.78 2013/03/24 17:01:23 claudio Exp $ */ /* $NetBSD: ieee80211_node.c,v 1.14 2004/05/09 09:18:47 dyoung Exp $ */ /*- @@ -94,7 +94,6 @@ void ieee80211_node_leave_ht(struct ieee80211com *, struct ieee80211_node *); #endif void ieee80211_node_leave_rsn(struct ieee80211com *, struct ieee80211_node *); void ieee80211_node_leave_11g(struct ieee80211com *, struct ieee80211_node *); -void ieee80211_set_tim(struct ieee80211com *, int, int); void ieee80211_inact_timeout(void *); void ieee80211_node_cache_timeout(void *); #endif diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h index d08fb270b35..99a27ca080d 100644 --- a/sys/net80211/ieee80211_node.h +++ b/sys/net80211/ieee80211_node.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_node.h,v 1.43 2012/11/07 19:41:25 stsp Exp $ */ +/* $OpenBSD: ieee80211_node.h,v 1.44 2013/03/24 17:01:23 claudio Exp $ */ /* $NetBSD: ieee80211_node.h,v 1.9 2004/04/30 22:57:32 dyoung Exp $ */ /*- @@ -337,6 +337,7 @@ extern int ieee80211_match_bss(struct ieee80211com *, extern void ieee80211_create_ibss(struct ieee80211com* , struct ieee80211_channel *); extern void ieee80211_notify_dtim(struct ieee80211com *); +extern void ieee80211_set_tim(struct ieee80211com *, int, int); extern int ieee80211_node_cmp(const struct ieee80211_node *, const struct ieee80211_node *); |