[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1294339817-31434-2-git-send-email-sakari.ailus@iki.fi>
Date: Thu, 6 Jan 2011 20:50:16 +0200
From: Sakari Ailus <sakari.ailus@....fi>
To: netdev@...r.kernel.org
Subject: [PATCH 2/3] tlan: Fix partner capability printout
Fix partner capability printout. Add spaces and do not print null.
Signed-off-by: Sakari Ailus <sakari.ailus@....fi>
---
drivers/net/tlan.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/tlan.c b/drivers/net/tlan.c
index 57380b1..090ce21 100644
--- a/drivers/net/tlan.c
+++ b/drivers/net/tlan.c
@@ -2367,10 +2367,10 @@ tlan_finish_reset(struct net_device *dev)
? "" : "0",
tlphy_par & TLAN_PHY_DUPLEX_FULL
? "Full" : "half");
- pr_info("TLAN: Partner capability: ");
- for (i = 5; i <= 10; i++)
+ pr_info("TLAN: Partner capability:");
+ for (i = 5; i < 10; i++)
if (partner & (1<<i))
- printk("%s", media[i-5]);
+ printk(" %s", media[i-5]);
printk("\n");
}
--
1.5.6.5
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists