Skip to content

Commit fd939d5

Browse files
Sam Muhammedgregkh
authored andcommitted
Staging: rtl8192u: ieee80211: Use netdev_alert().
Replace printk(KERN_ALERT ...) with netdev_alert() when a network device is available. Signed-off-by: Sam Muhammed <[email protected]> Link: https://lore.kernel.org/r/70e8781cd2a9512cb6b3c42400a10323f3024f3c.1585233434.git.jane.pnx9@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 33677b4 commit fd939d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static void ieee80211_TURBO_Info(struct ieee80211_device *ieee, u8 **tag_p)
131131
*tag++ = 0x00;
132132

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

0 commit comments

Comments
 (0)