* [patch resend] iw: align output for HT capabilities
@ 2009-02-03 0:25 pat-lkml
0 siblings, 0 replies; only message in thread
From: pat-lkml @ 2009-02-03 0:25 UTC (permalink / raw)
To: linux-wireless
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>
---
Fixed my thunderbird settings (hopefully, thought I had done that last
time)...
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");
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-03 0:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-03 0:25 [patch resend] iw: align output for HT capabilities pat-lkml
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).