From: YAMANE Toshiaki Date: Tue, 27 Nov 2012 12:10:14 +0000 (+0900) Subject: staging/rtl8187se: Use netdev_ printks in ieee80211/ieee80211_softmac_wx.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2ea054a2e23732dfb6533209759c27d4c07763dd;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging/rtl8187se: Use netdev_ printks in ieee80211/ieee80211_softmac_wx.c The following warning fixed. - WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... Signed-off-by: YAMANE Toshiaki Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac_wx.c b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac_wx.c index c71fb635c755..d9add5305e29 100644 --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac_wx.c +++ b/drivers/staging/rtl8187se/ieee80211/ieee80211_softmac_wx.c @@ -419,8 +419,8 @@ int ieee80211_wx_set_rawtx(struct ieee80211_device *ieee, else ieee->raw_tx = 0; - printk(KERN_INFO"raw TX is %s\n", - ieee->raw_tx ? "enabled" : "disabled"); + netdev_info(ieee->dev, "raw TX is %s\n", + ieee->raw_tx ? "enabled" : "disabled"); if (ieee->iw_mode == IW_MODE_MONITOR) { if (prev == 0 && ieee->raw_tx) {