提交 df349f9f 编写于 作者: H Holger Schurig 提交者: John W. Linville

libertas: use lbs_pr_XX instead of printk

... because lbs_pr_XXX prefixes all messages with "libertas: "
Signed-off-by: NHolger Schurig <hs4233@mail.mn-solutions.de>
Acked-by: NDan Williams <dcbw@redhat.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 93416c87
...@@ -110,7 +110,7 @@ int lbs_update_hw_spec(struct lbs_private *priv) ...@@ -110,7 +110,7 @@ int lbs_update_hw_spec(struct lbs_private *priv)
* CF card firmware 5.0.16p0: cap 0x00000303 * CF card firmware 5.0.16p0: cap 0x00000303
* USB dongle firmware 5.110.17p2: 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), print_mac(mac, cmd.permanentaddr),
priv->fwrelease >> 24 & 0xff, priv->fwrelease >> 24 & 0xff,
priv->fwrelease >> 16 & 0xff, priv->fwrelease >> 16 & 0xff,
......
...@@ -188,7 +188,7 @@ static ssize_t mesh_id_get(struct device *dev, struct device_attribute *attr, ...@@ -188,7 +188,7 @@ static ssize_t mesh_id_get(struct device *dev, struct device_attribute *attr,
return ret; return ret;
if (defs.meshie.val.mesh_id_len > IW_ESSID_MAX_SIZE) { 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; defs.meshie.val.mesh_id_len = IW_ESSID_MAX_SIZE;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册