Date: Fri, 10 Jul 2009 12:02:06 +0000 (UTC) From: Rui Paulo <rpaulo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r195556 - projects/mesh11s/sys/net80211 Message-ID: <200907101202.n6AC26SA019656@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rpaulo Date: Fri Jul 10 12:02:05 2009 New Revision: 195556 URL: http://svn.freebsd.org/changeset/base/195556 Log: hwmp_newstate(): flush the table on RUN -> !RUN transition. Sponsored by: The FreeBSD Foundation Modified: projects/mesh11s/sys/net80211/ieee80211_hwmp.c Modified: projects/mesh11s/sys/net80211/ieee80211_hwmp.c ============================================================================== --- projects/mesh11s/sys/net80211/ieee80211_hwmp.c Fri Jul 10 12:00:21 2009 (r195555) +++ projects/mesh11s/sys/net80211/ieee80211_hwmp.c Fri Jul 10 12:02:05 2009 (r195556) @@ -266,8 +266,8 @@ hwmp_newstate(struct ieee80211vap *vap, __func__, ieee80211_state_name[ostate], ieee80211_state_name[nstate], arg); - /* Flush the table on !INIT -> INIT, e.g. interface down & up */ - if (nstate != IEEE80211_S_INIT && ostate == IEEE80211_S_INIT) + /* Flush the table on RUN -> !RUN, e.g. interface down & up */ + if (nstate != IEEE80211_S_RUN && ostate == IEEE80211_S_RUN) callout_drain(&hs->hs_roottimer); return 0; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907101202.n6AC26SA019656>