]> err.no Git - linux-2.6/commitdiff
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 2d9bbcc0dd4e3ce5095292d777c011362694621e..e8d0144eb8bbb5708110ecdd03ffb3ed8b088537 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 6cf5e3949af875f4f532626cbe8f06864011c39c..6d0ff8decaf7ef50e3175f26a50b888a8169f147 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;
        }