]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
mesh: add support for NL80211_MESHCONF_ELEMENT_TTL
authorJohannes Berg <johannes.berg@intel.com>
Fri, 3 Dec 2010 08:18:42 +0000 (09:18 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 Dec 2010 12:07:14 +0000 (13:07 +0100)
mesh.c

diff --git a/mesh.c b/mesh.c
index e0b63636bdb825e97c34b190a06012e70c132f68..7c6ab3db15d6c50663b0b79b88e0e9db1b0d0772 100644 (file)
--- a/mesh.c
+++ b/mesh.c
@@ -147,6 +147,9 @@ const static struct mesh_param_descr _mesh_param_descrs[] =
        {"mesh_ttl",
        NL80211_MESHCONF_TTL,
        _my_nla_put_u8, _parse_u8, _print_u8},
+       {"mesh_element_ttl",
+       NL80211_MESHCONF_ELEMENT_TTL,
+       _my_nla_put_u8, _parse_u8, _print_u8},
        {"mesh_auto_open_plinks",
        NL80211_MESHCONF_AUTO_OPEN_PLINKS,
        _my_nla_put_u8, _parse_u8_as_bool, _print_u8},