From: pat-lkml Date: Tue, 3 Feb 2009 00:25:39 +0000 (-0500) Subject: iw: align output for HT capabilities X-Git-Tag: v0.9.10~12^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4233fca9e5a5161bbad81ea26714e4f93521682e;p=thirdparty%2Fiw.git iw: align output for HT capabilities 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 --- diff --git a/info.c b/info.c index 7ea8f99..ea3e5f2 100644 --- 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");