Thread (9 messages) flat view 9 messages, 2 authors, 2021-09-23
STALE1808d

[PATCH iw 4/4] iw: mesh: add comments in the mesh confguration parameter printing sections

From: Gokul Sivakumar <hidden>
Date: 2021-09-10 14:18:23
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Gokul Sivakumar <redacted>
---
 mesh.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
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");
-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help