libertas: use lbs_pr_XX instead of printk
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Fri, 23 May 2008 10:16:51 +0000 (12:16 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 3 Jun 2008 19:00:15 +0000 (15:00 -0400)
... because lbs_pr_XXX prefixes all messages with "libertas: "

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/persistcfg.c

index 2d9bbcc..e8d0144 100644 (file)
@@ -110,7 +110,7 @@ int lbs_update_hw_spec(struct lbs_private *priv)
         * CF card    firmware 5.0.16p0:   cap 0x00000303
         * USB dongle firmware 5.110.17p2: cap 0x00000303
         */
-       printk("libertas: %s, fw %u.%u.%up%u, cap 0x%08x\n",
+       lbs_pr_info("%s, fw %u.%u.%up%u, cap 0x%08x\n",
                print_mac(mac, cmd.permanentaddr),
                priv->fwrelease >> 24 & 0xff,
                priv->fwrelease >> 16 & 0xff,
index 6cf5e39..6d0ff8d 100644 (file)
@@ -188,7 +188,7 @@ static ssize_t mesh_id_get(struct device *dev, struct device_attribute *attr,
                return ret;
 
        if (defs.meshie.val.mesh_id_len > IW_ESSID_MAX_SIZE) {
-               printk(KERN_ERR "Inconsistent mesh ID length");
+               lbs_pr_err("inconsistent mesh ID length");
                defs.meshie.val.mesh_id_len = IW_ESSID_MAX_SIZE;
        }