From: Gokul Sivakumar Date: Fri, 10 Sep 2021 14:16:18 +0000 (+0530) Subject: iw: mesh: add comments in the mesh confguration parameter printing sections X-Git-Tag: v5.16~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5a291261e4a39216cc2228ef8f8d655d19651a18;p=thirdparty%2Fiw.git iw: mesh: add comments in the mesh confguration parameter printing sections Signed-off-by: Gokul Sivakumar Link: https://lore.kernel.org/r/20210910141618.1594617-4-gokulkumar792@gmail.com Signed-off-by: Johannes Berg --- diff --git a/mesh.c b/mesh.c index 943edf5..0fb98a3 100644 --- a/mesh.c +++ b/mesh.c @@ -400,6 +400,7 @@ static int print_mesh_param_handler(struct nl_msg *msg, void *arg) if (!mdescr) { unsigned int i; + /* print out all the supported mesh parameters */ for (i = 0; i < ARRAY_SIZE(_mesh_param_descrs); i++) { mdescr = &_mesh_param_descrs[i]; if (mesh_params[mdescr->mesh_param_num]) { @@ -411,7 +412,7 @@ static int print_mesh_param_handler(struct nl_msg *msg, void *arg) return NL_SKIP; } - /* print out the mesh parameter */ + /* print out the requested mesh parameter */ if (mesh_params[mdescr->mesh_param_num]) { mdescr->nla_print_fn(mesh_params[mdescr->mesh_param_num]); printf("\n");