diff options
author | sam <sam@FreeBSD.org> | 2005-07-23 00:16:46 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-07-23 00:16:46 +0000 |
commit | 19bd96d14cebd548b24b29c1fccd1269a19a885f (patch) | |
tree | 3fdb02a17bf527feb2eb31abb20def6487246da6 | |
parent | 0ba8dad18575b058a2e61367de5a76df20b90053 (diff) | |
download | FreeBSD-src-19bd96d14cebd548b24b29c1fccd1269a19a885f.zip FreeBSD-src-19bd96d14cebd548b24b29c1fccd1269a19a885f.tar.gz |
the AREF flag is only meaningful in ap mode; adhoc neighbors now
are timed out of the sta/neighbor table
-rw-r--r-- | sys/net80211/ieee80211_node.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c index 23c7b50..79a04ae 100644 --- a/sys/net80211/ieee80211_node.c +++ b/sys/net80211/ieee80211_node.c @@ -1398,7 +1398,8 @@ restart: * will be reclaimed when the last reference to them * goes away (when frame xmits complete). */ - if ((ni->ni_flags & IEEE80211_NODE_AREF) == 0) + if (ic->ic_opmode == IEEE80211_M_HOSTAP && + (ni->ni_flags & IEEE80211_NODE_AREF) == 0) continue; /* * Free fragment if not needed anymore |