From: pat-lkml <pat-lkml@erley.org>
To: linux-wireless <linux-wireless@vger.kernel.org>
Subject: [patch] iw: align output for HT capabilities
Date: Mon, 02 Feb 2009 19:10:51 -0500 [thread overview]
Message-ID: <49878B8B.4020005@erley.org> (raw)
The HT capabilities have an additional space in front of them causing
them not to line up with the rest of the listed outputs. This patch
removes that space.
Signed-off-by: Pat Erley <pat-lkml@erley.org>
---
diff --git a/info.c b/info.c
index bf3b8bd..69be500 100644
--- a/info.c
+++ b/info.c
@@ -70,7 +70,7 @@ static int print_phy_handler(struct nl_msg *msg, void
*arg)
#ifdef NL80211_BAND_ATTR_HT_CAPA
if (tb_band[NL80211_BAND_ATTR_HT_CAPA]) {
unsigned short cap = nla_get_u16(tb_band[NL80211_BAND_ATTR_HT_CAPA]);
-#define PCOM(fmt, args...) do { printf("\t\t\t * " fmt "\n", ##args); }
while (0)
+#define PCOM(fmt, args...) do { printf("\t\t\t* " fmt "\n", ##args); }
while (0)
#define PBCOM(bit, args...) if (cap & (bit)) PCOM(args)
printf("\t\tHT capabilities: 0x%.4x\n", cap);
PBCOM(0x0001, "LPDC coding");
next reply other threads:[~2009-02-03 0:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-03 0:10 pat-lkml [this message]
2009-02-03 0:15 ` [patch] iw: align output for HT capabilities Julian Calaby
2009-02-03 0:18 ` pat-lkml
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=49878B8B.4020005@erley.org \
--to=pat-lkml@erley.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).