From: Gokul Sivakumar <gokulkumar792@gmail.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Gokul Sivakumar <gokulkumar792@gmail.com>,
linux-wireless@vger.kernel.org
Subject: [PATCH iw 4/4] iw: mesh: add comments in the mesh confguration parameter printing sections
Date: Fri, 10 Sep 2021 19:46:18 +0530 [thread overview]
Message-ID: <20210910141618.1594617-4-gokulkumar792@gmail.com> (raw)
In-Reply-To: <20210910141618.1594617-1-gokulkumar792@gmail.com>
Signed-off-by: Gokul Sivakumar <gokulkumar792@gmail.com>
---
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
next prev parent reply other threads:[~2021-09-10 14:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-10 14:16 [PATCH iw 1/4] iw: nl80211: add NLA_F_NESTED to nla_nest_start() with older libnl versions Gokul Sivakumar
2021-09-10 14:16 ` [PATCH iw 2/4] iw: link: mention the need for MAC addr arg in link get_sta cmd usage menu Gokul Sivakumar
2021-09-10 14:16 ` [PATCH iw 3/4] iw: event: add the missing time display format in the "iw event" help menu Gokul Sivakumar
2021-09-10 14:16 ` Gokul Sivakumar [this message]
2021-09-23 11:36 ` [PATCH iw 1/4] iw: nl80211: add NLA_F_NESTED to nla_nest_start() with older libnl versions Johannes Berg
2021-09-23 15:53 ` Gokul Sivakumar
2021-09-23 15:56 ` Johannes Berg
2021-09-23 16:23 ` Gokul Sivakumar
2021-09-23 16:25 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210910141618.1594617-4-gokulkumar792@gmail.com \
--to=gokulkumar792@gmail.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.