diff options
author | sam <sam@FreeBSD.org> | 2007-11-23 06:23:12 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2007-11-23 06:23:12 +0000 |
commit | 9b58c99e95a33a9237ebe1635610053606a67d23 (patch) | |
tree | f04816e6c4d5c7bfc832537332ec0f78e2fbe683 /sys/net80211 | |
parent | 47d976145ca8f4c519c892a1563915ad303461ca (diff) | |
download | FreeBSD-src-9b58c99e95a33a9237ebe1635610053606a67d23.zip FreeBSD-src-9b58c99e95a33a9237ebe1635610053606a67d23.tar.gz |
o correct re-association indicator dispatched in node join event
o remove misleading "reassociation" msg on sta join
MFC after: 3 days
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_node.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c index d14468a..0ed8b79 100644 --- a/sys/net80211/ieee80211_node.c +++ b/sys/net80211/ieee80211_node.c @@ -1770,8 +1770,7 @@ ieee80211_node_join(struct ieee80211com *ic, struct ieee80211_node *ni, int resp newassoc = 0; IEEE80211_NOTE(ic, IEEE80211_MSG_ASSOC | IEEE80211_MSG_DEBUG, ni, - "station %sassociated at aid %d: %s preamble, %s slot time%s%s%s%s%s%s", - newassoc ? "" : "re", + "station associated at aid %d: %s preamble, %s slot time%s%s%s%s%s%s", IEEE80211_NODE_AID(ni), ic->ic_flags & IEEE80211_F_SHPREAMBLE ? "short" : "long", ic->ic_flags & IEEE80211_F_SHSLOT ? "short" : "long", @@ -1793,7 +1792,8 @@ ieee80211_node_join(struct ieee80211com *ic, struct ieee80211_node *ni, int resp /* tell the authenticator about new station */ if (ic->ic_auth->ia_node_join != NULL) ic->ic_auth->ia_node_join(ic, ni); - ieee80211_notify_node_join(ic, ni, newassoc); + ieee80211_notify_node_join(ic, ni, + resp == IEEE80211_FC0_SUBTYPE_ASSOC_RESP); } static void |