diff options
author | Joe Perches <joe@perches.com> | 2007-10-03 20:59:30 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:51:42 -0400 |
commit | 0795af5729b18218767fab27c44b1384f72dc9ad (patch) | |
tree | 67c16df84aa6ec219340b8ea1b5cfb0e8150a216 /drivers/net/wireless/libertas/cmdresp.c | |
parent | 95ea36275f3c9a1d3d04c217b4b576c657c4e70e (diff) |
[NET]: Introduce and use print_mac() and DECLARE_MAC_BUF()
This is nicer than the MAC_FMT stuff.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/libertas/cmdresp.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmdresp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c index d64ad87db459..fe70e30b1f3c 100644 --- a/drivers/net/wireless/libertas/cmdresp.c +++ b/drivers/net/wireless/libertas/cmdresp.c | |||
@@ -159,6 +159,7 @@ static int wlan_ret_get_hw_spec(wlan_private * priv, | |||
159 | struct cmd_ds_get_hw_spec *hwspec = &resp->params.hwspec; | 159 | struct cmd_ds_get_hw_spec *hwspec = &resp->params.hwspec; |
160 | wlan_adapter *adapter = priv->adapter; | 160 | wlan_adapter *adapter = priv->adapter; |
161 | int ret = 0; | 161 | int ret = 0; |
162 | DECLARE_MAC_BUF(mac); | ||
162 | 163 | ||
163 | lbs_deb_enter(LBS_DEB_CMD); | 164 | lbs_deb_enter(LBS_DEB_CMD); |
164 | 165 | ||
@@ -169,8 +170,8 @@ static int wlan_ret_get_hw_spec(wlan_private * priv, | |||
169 | lbs_deb_cmd("GET_HW_SPEC: firmware release %u.%u.%up%u\n", | 170 | lbs_deb_cmd("GET_HW_SPEC: firmware release %u.%u.%up%u\n", |
170 | adapter->fwreleasenumber[2], adapter->fwreleasenumber[1], | 171 | adapter->fwreleasenumber[2], adapter->fwreleasenumber[1], |
171 | adapter->fwreleasenumber[0], adapter->fwreleasenumber[3]); | 172 | adapter->fwreleasenumber[0], adapter->fwreleasenumber[3]); |
172 | lbs_deb_cmd("GET_HW_SPEC: MAC addr " MAC_FMT "\n", | 173 | lbs_deb_cmd("GET_HW_SPEC: MAC addr %s\n", |
173 | MAC_ARG(hwspec->permanentaddr)); | 174 | print_mac(mac, hwspec->permanentaddr)); |
174 | lbs_deb_cmd("GET_HW_SPEC: hardware interface 0x%x, hardware spec 0x%04x\n", | 175 | lbs_deb_cmd("GET_HW_SPEC: hardware interface 0x%x, hardware spec 0x%04x\n", |
175 | hwspec->hwifversion, hwspec->version); | 176 | hwspec->hwifversion, hwspec->version); |
176 | 177 | ||