diff options
author | sam <sam@FreeBSD.org> | 2008-10-26 21:59:07 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-10-26 21:59:07 +0000 |
commit | 55988186e03ee2cfbbf589ad56e817cf620a4c68 (patch) | |
tree | 9f7b2d3a38cda2b51cc02be42ccd33530947b093 /sys/net80211 | |
parent | ed90b400663196e5ef69a7a28c84e884f835335c (diff) | |
download | FreeBSD-src-55988186e03ee2cfbbf589ad56e817cf620a4c68.zip FreeBSD-src-55988186e03ee2cfbbf589ad56e817cf620a4c68.tar.gz |
o re-enable a lock assert
o while here reformat a comment to sync w/ other repot's
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_node.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c index 562d31f..8e9d91f 100644 --- a/sys/net80211/ieee80211_node.c +++ b/sys/net80211/ieee80211_node.c @@ -598,8 +598,8 @@ gethtadjustflags(struct ieee80211com *ic) /* * Check if the current channel needs to change based on whether - * any vap's are using HT20/HT40. This is used sync the state of - * ic_curchan after a channel width change on a running vap. + * any vap's are using HT20/HT40. This is used to sync the state + * of ic_curchan after a channel width change on a running vap. */ void ieee80211_sync_curchan(struct ieee80211com *ic) @@ -952,9 +952,9 @@ static void node_age(struct ieee80211_node *ni) { struct ieee80211vap *vap = ni->ni_vap; -#if 0 - IEEE80211_NODE_LOCK_ASSERT(&ic->ic_sta); -#endif + + IEEE80211_NODE_LOCK_ASSERT(&vap->iv_ic->ic_sta); + /* * Age frames on the power save queue. */ |