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>
This commit is contained in:
Luis Carlos Cobo
2008-02-29 15:04:13 -08:00
committed by John W. Linville
parent 89a1ad6990
commit cfa22c716f
4 changed files with 11 additions and 27 deletions

View File

@@ -785,7 +785,7 @@ static int ieee80211_del_mpath(struct wiphy *wiphy, struct net_device *dev,
u8 *dst)
{
if (dst)
return mesh_path_del(dst, dev, false);
return mesh_path_del(dst, dev);
mesh_path_flush(dev);
return 0;