diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-27 20:47:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-27 20:47:26 -0400 |
commit | 7c510e4b730a92cecf94ada45c989d8be0200d47 (patch) | |
tree | 61f1926964c580946367588602a8eb039561f077 /drivers/net/wireless | |
parent | e174961ca1a0b28f7abf0be47973ad57cb74e5f0 (diff) |
net: convert more to %pM
A number of places still use %02x:...:%02x because it's
in debug statements or for no real reason. Make a few
of them use %pM.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/wavelan_cs.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/wireless/wavelan_cs.c b/drivers/net/wireless/wavelan_cs.c index 7bf445895a82..0a3bacc20d96 100644 --- a/drivers/net/wireless/wavelan_cs.c +++ b/drivers/net/wireless/wavelan_cs.c | |||
@@ -2235,13 +2235,7 @@ static int wavelan_set_wap(struct net_device *dev, | |||
2235 | char *extra) | 2235 | char *extra) |
2236 | { | 2236 | { |
2237 | #ifdef DEBUG_IOCTL_INFO | 2237 | #ifdef DEBUG_IOCTL_INFO |
2238 | printk(KERN_DEBUG "Set AP to : %02X:%02X:%02X:%02X:%02X:%02X\n", | 2238 | printk(KERN_DEBUG "Set AP to : %pM\n", wrqu->ap_addr.sa_data); |
2239 | wrqu->ap_addr.sa_data[0], | ||
2240 | wrqu->ap_addr.sa_data[1], | ||
2241 | wrqu->ap_addr.sa_data[2], | ||
2242 | wrqu->ap_addr.sa_data[3], | ||
2243 | wrqu->ap_addr.sa_data[4], | ||
2244 | wrqu->ap_addr.sa_data[5]); | ||
2245 | #endif /* DEBUG_IOCTL_INFO */ | 2239 | #endif /* DEBUG_IOCTL_INFO */ |
2246 | 2240 | ||
2247 | return -EOPNOTSUPP; | 2241 | return -EOPNOTSUPP; |