From d4954354949077099acba9bbaa4e326625bb14fa Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Sun, 24 Mar 2013 17:01:24 +0000 Subject: 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. --- sys/net80211/ieee80211_node.c | 3 +-- 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 *); -- cgit v1.2.3