Skip to content

Commit

Permalink
Staging: rtl8192u: ieee80211: Use netdev_alert().
Browse files Browse the repository at this point in the history
Replace printk(KERN_ALERT ...) with netdev_alert()
when a network device is available.

Signed-off-by: Sam Muhammed <jane.pnx9@gmail.com>
Link: https://lore.kernel.org/r/70e8781cd2a9512cb6b3c42400a10323f3024f3c.1585233434.git.jane.pnx9@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Sam Muhammed authored and Greg Kroah-Hartman committed Mar 26, 2020
1 parent 33677b4 commit fd939d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ static void ieee80211_TURBO_Info(struct ieee80211_device *ieee, u8 **tag_p)
*tag++ = 0x00;

*tag_p = tag;
printk(KERN_ALERT "This is enable turbo mode IE process\n");
netdev_alert(ieee->dev, "This is enable turbo mode IE process\n");
}
#endif

Expand Down

0 comments on commit fd939d5

Please sign in to comment.