]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
iw: align output for HT capabilities
authorpat-lkml <pat-lkml@erley.org>
Tue, 3 Feb 2009 00:25:39 +0000 (19:25 -0500)
committerJohannes Berg <johannes@sipsolutions.net>
Tue, 3 Feb 2009 09:51:55 +0000 (10:51 +0100)
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>
info.c

diff --git a/info.c b/info.c
index 7ea8f999b39501c7424ccb5603a459f6f6e23005..ea3e5f27a430c97b82f86005e5b7c8d5fd355652 100644 (file)
--- a/info.c
+++ b/info.c
@@ -89,7 +89,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");