diff mbox series

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

Message ID 20210910141618.1594617-4-gokulkumar792@gmail.com
State New
Headers show
Series [iw,1/4] iw: nl80211: add NLA_F_NESTED to nla_nest_start() with older libnl versions | expand

Commit Message

Gokul Sivakumar Sept. 10, 2021, 2:16 p.m. UTC
Signed-off-by: Gokul Sivakumar <gokulkumar792@gmail.com>
---
 mesh.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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");