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: Teodora Baluta <teobaluta@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8cc91dd57a
commit
d837ba374e
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user