diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-27 18:59:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-27 20:06:18 -0400 |
commit | e174961ca1a0b28f7abf0be47973ad57cb74e5f0 (patch) | |
tree | e8f74ecd420a0e380a71670e5aec5c2a0c15640a /drivers/net/wireless/libertas/wext.c | |
parent | 0c68ae2605dbcf67414d8d1f19af93be44b355fb (diff) |
net: convert print_mac to %pM
This converts pretty much everything to print_mac. There were
a few things that had conflicts which I have just dropped for
now, no harm done.
I've built an allyesconfig with this and looked at the files
that weren't built very carefully, but it's a huge patch.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/libertas/wext.c')
-rw-r--r-- | drivers/net/wireless/libertas/wext.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c index 82c3e5a50ea6..04f0bf2ef0a8 100644 --- a/drivers/net/wireless/libertas/wext.c +++ b/drivers/net/wireless/libertas/wext.c | |||
@@ -2104,7 +2104,6 @@ static int lbs_set_wap(struct net_device *dev, struct iw_request_info *info, | |||
2104 | struct lbs_private *priv = dev->priv; | 2104 | struct lbs_private *priv = dev->priv; |
2105 | struct assoc_request * assoc_req; | 2105 | struct assoc_request * assoc_req; |
2106 | int ret = 0; | 2106 | int ret = 0; |
2107 | DECLARE_MAC_BUF(mac); | ||
2108 | 2107 | ||
2109 | lbs_deb_enter(LBS_DEB_WEXT); | 2108 | lbs_deb_enter(LBS_DEB_WEXT); |
2110 | 2109 | ||
@@ -2114,7 +2113,7 @@ static int lbs_set_wap(struct net_device *dev, struct iw_request_info *info, | |||
2114 | if (awrq->sa_family != ARPHRD_ETHER) | 2113 | if (awrq->sa_family != ARPHRD_ETHER) |
2115 | return -EINVAL; | 2114 | return -EINVAL; |
2116 | 2115 | ||
2117 | lbs_deb_wext("ASSOC: WAP: sa_data %s\n", print_mac(mac, awrq->sa_data)); | 2116 | lbs_deb_wext("ASSOC: WAP: sa_data %pM\n", awrq->sa_data); |
2118 | 2117 | ||
2119 | mutex_lock(&priv->lock); | 2118 | mutex_lock(&priv->lock); |
2120 | 2119 | ||