]> err.no Git - linux-2.6/commitdiff
[PATCH] libertas: tune hardware info output
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Thu, 2 Aug 2007 15:50:35 +0000 (11:50 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:51 +0000 (16:49 -0700)
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>
drivers/net/wireless/libertas/cmdresp.c

index 577c434089b06b8ac82948aca1439b53fc8fdea9..bb1d72b2b524d523119c9cf04bde1b4a2ca5f6b4 100644 (file)
@@ -173,14 +173,12 @@ static int wlan_ret_get_hw_spec(wlan_private * priv,
 
        memcpy(adapter->fwreleasenumber, hwspec->fwreleasenumber, 4);
 
-       lbs_deb_cmd("GET_HW_SPEC: FWReleaseVersion- %u.%u.%u.p%u\n",
+       lbs_deb_cmd("GET_HW_SPEC: FWReleaseVersion: %u.%u.%u.p%u\n",
                    adapter->fwreleasenumber[2], adapter->fwreleasenumber[1],
                    adapter->fwreleasenumber[0], adapter->fwreleasenumber[3]);
-       lbs_deb_cmd("GET_HW_SPEC: Permanent addr- %2x:%2x:%2x:%2x:%2x:%2x\n",
-              hwspec->permanentaddr[0], hwspec->permanentaddr[1],
-              hwspec->permanentaddr[2], hwspec->permanentaddr[3],
-              hwspec->permanentaddr[4], hwspec->permanentaddr[5]);
-       lbs_deb_cmd("GET_HW_SPEC: hwifversion=0x%X  version=0x%X\n",
+       lbs_deb_cmd("GET_HW_SPEC: Permanent addr: " MAC_FMT "\n",
+              MAC_ARG(hwspec->permanentaddr));
+       lbs_deb_cmd("GET_HW_SPEC: hwifversion: 0x%x version:0x%x\n",
               hwspec->hwifversion, hwspec->version);
 
        adapter->regioncode = le16_to_cpu(hwspec->regioncode);