diff options
author | Holger Schurig <hs4233@mail.mn-solutions.de> | 2007-08-02 11:50:35 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:49:51 -0400 |
commit | 0a6d0555e90850b7ce90e8937858f11b6b98b6d4 (patch) | |
tree | c442556f028cee37ea5a2b1b6a545cce7d60cab9 | |
parent | 3cf840914bd467fa4cc76af1a01bba4d2813131c (diff) |
[PATCH] libertas: tune hardware info output
This changes the output of hardware related info from:
libertas: GET_HW_SPEC: FWReleaseVersion- 5.0.11.p0
libertas: GET_HW_SPEC: Permanent addr- 0:16:41:72:f6:a8
libertas: GET_HW_SPEC: hwifversion=0x2 version=0x213
to:
libertas: GET_HW_SPEC: FWReleaseVersion: 5.0.11.p0
libertas: GET_HW_SPEC: Permanent addr: 00:16:41:72:f6:a8
libertas: GET_HW_SPEC: hwifversion: 0x2, version: 0x213
Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/libertas/cmdresp.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/net/wireless/libertas/cmdresp.c b/drivers/net/wireless/libertas/cmdresp.c index 577c434089b0..bb1d72b2b524 100644 --- a/drivers/net/wireless/libertas/cmdresp.c +++ b/drivers/net/wireless/libertas/cmdresp.c | |||
@@ -173,14 +173,12 @@ static int wlan_ret_get_hw_spec(wlan_private * priv, | |||
173 | 173 | ||
174 | memcpy(adapter->fwreleasenumber, hwspec->fwreleasenumber, 4); | 174 | memcpy(adapter->fwreleasenumber, hwspec->fwreleasenumber, 4); |
175 | 175 | ||
176 | lbs_deb_cmd("GET_HW_SPEC: FWReleaseVersion- %u.%u.%u.p%u\n", | 176 | lbs_deb_cmd("GET_HW_SPEC: FWReleaseVersion: %u.%u.%u.p%u\n", |
177 | adapter->fwreleasenumber[2], adapter->fwreleasenumber[1], | 177 | adapter->fwreleasenumber[2], adapter->fwreleasenumber[1], |
178 | adapter->fwreleasenumber[0], adapter->fwreleasenumber[3]); | 178 | adapter->fwreleasenumber[0], adapter->fwreleasenumber[3]); |
179 | lbs_deb_cmd("GET_HW_SPEC: Permanent addr- %2x:%2x:%2x:%2x:%2x:%2x\n", | 179 | lbs_deb_cmd("GET_HW_SPEC: Permanent addr: " MAC_FMT "\n", |
180 | hwspec->permanentaddr[0], hwspec->permanentaddr[1], | 180 | MAC_ARG(hwspec->permanentaddr)); |
181 | hwspec->permanentaddr[2], hwspec->permanentaddr[3], | 181 | lbs_deb_cmd("GET_HW_SPEC: hwifversion: 0x%x version:0x%x\n", |
182 | hwspec->permanentaddr[4], hwspec->permanentaddr[5]); | ||
183 | lbs_deb_cmd("GET_HW_SPEC: hwifversion=0x%X version=0x%X\n", | ||
184 | hwspec->hwifversion, hwspec->version); | 182 | hwspec->hwifversion, hwspec->version); |
185 | 183 | ||
186 | adapter->regioncode = le16_to_cpu(hwspec->regioncode); | 184 | adapter->regioncode = le16_to_cpu(hwspec->regioncode); |