Commit 3a9b0455 authored by David Lechner's avatar David Lechner Committed by David S. Miller

net: usb: rtl8150: demote allmulti message to dev_dbg()

This driver can spam the kernel log with multiple messages of:

    net eth0: eth0: allmulti set

Usually 4 or 8 at a time (probably because of using ConnMan).

This message doesn't seem useful, so let's demote it from dev_info()
to dev_dbg().
Signed-off-by: default avatarDavid Lechner <david@lechnology.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4aac0b43
...@@ -681,7 +681,7 @@ static void rtl8150_set_multicast(struct net_device *netdev) ...@@ -681,7 +681,7 @@ static void rtl8150_set_multicast(struct net_device *netdev)
(netdev->flags & IFF_ALLMULTI)) { (netdev->flags & IFF_ALLMULTI)) {
rx_creg &= 0xfffe; rx_creg &= 0xfffe;
rx_creg |= 0x0002; rx_creg |= 0x0002;
dev_info(&netdev->dev, "%s: allmulti set\n", netdev->name); dev_dbg(&netdev->dev, "%s: allmulti set\n", netdev->name);
} else { } else {
/* ~RX_MULTICAST, ~RX_PROMISCUOUS */ /* ~RX_MULTICAST, ~RX_PROMISCUOUS */
rx_creg &= 0x00fc; rx_creg &= 0x00fc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment