diff options
author | Luis Carlos Cobo <luisca@cozybit.com> | 2008-02-29 18:04:13 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-03-06 16:40:51 -0500 |
commit | cfa22c716f65b4d286a68aeacee4a7361a4035e6 (patch) | |
tree | 52c9c31b7f77b06daa504e283aa73da41be1e6aa /net/mac80211/mesh.h | |
parent | 89a1ad6990d884796c5280d13aa58d216dffa08d (diff) |
mac80211: always force mesh_path deletions
Postponing the deletion is not really useful anymore.
Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh.h')
-rw-r--r-- | net/mac80211/mesh.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h index add9b0ddda81..742003d3a841 100644 --- a/net/mac80211/mesh.h +++ b/net/mac80211/mesh.h | |||
@@ -30,7 +30,6 @@ | |||
30 | * @MESH_PATH_FIXED: the mesh path has been manually set and should not be | 30 | * @MESH_PATH_FIXED: the mesh path has been manually set and should not be |
31 | * modified | 31 | * modified |
32 | * @MESH_PATH_RESOLVED: the mesh path can has been resolved | 32 | * @MESH_PATH_RESOLVED: the mesh path can has been resolved |
33 | * @MESH_PATH_DELETE: the mesh path is scheduled to be deleted | ||
34 | * | 33 | * |
35 | * MESH_PATH_RESOLVED and MESH_PATH_DELETE are used by the mesh path timer to | 34 | * MESH_PATH_RESOLVED and MESH_PATH_DELETE are used by the mesh path timer to |
36 | * decide when to stop or cancel the mesh path discovery. | 35 | * decide when to stop or cancel the mesh path discovery. |
@@ -41,7 +40,6 @@ enum mesh_path_flags { | |||
41 | MESH_PATH_DSN_VALID = BIT(2), | 40 | MESH_PATH_DSN_VALID = BIT(2), |
42 | MESH_PATH_FIXED = BIT(3), | 41 | MESH_PATH_FIXED = BIT(3), |
43 | MESH_PATH_RESOLVED = BIT(4), | 42 | MESH_PATH_RESOLVED = BIT(4), |
44 | MESH_PATH_DELETE = BIT(5), | ||
45 | }; | 43 | }; |
46 | 44 | ||
47 | /** | 45 | /** |
@@ -254,7 +252,7 @@ void mesh_path_flush_pending(struct mesh_path *mpath); | |||
254 | void mesh_path_tx_pending(struct mesh_path *mpath); | 252 | void mesh_path_tx_pending(struct mesh_path *mpath); |
255 | int mesh_pathtbl_init(void); | 253 | int mesh_pathtbl_init(void); |
256 | void mesh_pathtbl_unregister(void); | 254 | void mesh_pathtbl_unregister(void); |
257 | int mesh_path_del(u8 *addr, struct net_device *dev, bool force); | 255 | int mesh_path_del(u8 *addr, struct net_device *dev); |
258 | void mesh_path_timer(unsigned long data); | 256 | void mesh_path_timer(unsigned long data); |
259 | void mesh_path_flush_by_nexthop(struct sta_info *sta); | 257 | void mesh_path_flush_by_nexthop(struct sta_info *sta); |
260 | void mesh_path_discard_frame(struct sk_buff *skb, struct net_device *dev); | 258 | void mesh_path_discard_frame(struct sk_buff *skb, struct net_device *dev); |