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 <yamanetoshi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3f60498b87
commit
2ea054a2e2
|
@ -419,8 +419,8 @@ int ieee80211_wx_set_rawtx(struct ieee80211_device *ieee,
|
||||||
else
|
else
|
||||||
ieee->raw_tx = 0;
|
ieee->raw_tx = 0;
|
||||||
|
|
||||||
printk(KERN_INFO"raw TX is %s\n",
|
netdev_info(ieee->dev, "raw TX is %s\n",
|
||||||
ieee->raw_tx ? "enabled" : "disabled");
|
ieee->raw_tx ? "enabled" : "disabled");
|
||||||
|
|
||||||
if (ieee->iw_mode == IW_MODE_MONITOR) {
|
if (ieee->iw_mode == IW_MODE_MONITOR) {
|
||||||
if (prev == 0 && ieee->raw_tx) {
|
if (prev == 0 && ieee->raw_tx) {
|
||||||
|
|
Loading…
Reference in New Issue