diff options
author | Javier Cardona <javier@cozybit.com> | 2009-12-10 02:43:01 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-10 21:12:52 (GMT) |
commit | 7b324d28a94dac5a451e8cba66e8d324601e5b9a (patch) | |
tree | d633782fad15ae57560cfebb5ff5c3c78af5d610 /net/mac80211/mesh.h | |
parent | 5d618cb81aeea19879975cd1f9a1e707694dfd7c (diff) | |
download | linux-7b324d28a94dac5a451e8cba66e8d324601e5b9a.tar.xz |
mac80211: Revert 'Use correct sign for mesh active path refresh'
The patch ("mac80211: Use correct sign for mesh active path
refresh.") was actually a bug. Reverted it and improved the
explanation of how mesh path refresh works.
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: Andrey Yurovsky <andrey@cozybit.com>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh.h')
-rw-r--r-- | net/mac80211/mesh.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h index 31e1025..85562c5 100644 --- a/net/mac80211/mesh.h +++ b/net/mac80211/mesh.h @@ -188,8 +188,9 @@ struct mesh_rmc { */ #define MESH_PREQ_MIN_INT 10 #define MESH_DIAM_TRAVERSAL_TIME 50 -/* Paths will be refreshed if they are closer than PATH_REFRESH_TIME to their - * expiration +/* A path will be refreshed if it is used PATH_REFRESH_TIME milliseconds before + * timing out. This way it will remain ACTIVE and no data frames will be + * unnecesarily held in the pending queue. */ #define MESH_PATH_REFRESH_TIME 1000 #define MESH_MIN_DISCOVERY_TIMEOUT (2 * MESH_DIAM_TRAVERSAL_TIME) |