summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeodora Baluta <teobaluta@gmail.com>2013-10-22 02:37:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-28 14:17:58 -0700
commitd837ba374e9fd2e9ec3db77dda7938211fa01c18 (patch)
tree3a1b7588b50897653ad29b4e89c09be6af427334
parent8cc91dd57ad4950bfd5020ba8e3deed680fcdbc8 (diff)
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>
-rw-r--r--drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
index 45e91032e49b..ba32df92bedb 100644
--- a/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
+++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c
@@ -224,8 +224,7 @@ int ieee80211_encrypt_fragment(
atomic_dec(&crypt->refcnt);
if (res < 0) {
- printk(KERN_INFO "%s: Encryption failed: len=%d.\n",
- ieee->dev->name, frag->len);
+ netdev_info(ieee->dev, "Encryption failed: len=%d.\n", frag->len);
ieee->ieee_stats.tx_discards++;
return -1;
}