Commit d837ba37 authored by Teodora Baluta's avatar Teodora Baluta Committed by Greg Kroah-Hartman

staging: rtl8187se: use netdev_info instead of printk

WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then
pr_info(...  to printk(KERN_INFO
Signed-off-by: default avatarTeodora Baluta <teobaluta@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8cc91dd5
...@@ -224,8 +224,7 @@ int ieee80211_encrypt_fragment( ...@@ -224,8 +224,7 @@ int ieee80211_encrypt_fragment(
atomic_dec(&crypt->refcnt); atomic_dec(&crypt->refcnt);
if (res < 0) { if (res < 0) {
printk(KERN_INFO "%s: Encryption failed: len=%d.\n", netdev_info(ieee->dev, "Encryption failed: len=%d.\n", frag->len);
ieee->dev->name, frag->len);
ieee->ieee_stats.tx_discards++; ieee->ieee_stats.tx_discards++;
return -1; return -1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment