Commit ca15b788 authored by Joseph Fannin's avatar Joseph Fannin Committed by Stephen Hemminger

[netdrvr sis900] fix multicast bug

parent 18d45937
...@@ -2093,7 +2093,7 @@ static void set_rx_mode(struct net_device *net_dev) ...@@ -2093,7 +2093,7 @@ static void set_rx_mode(struct net_device *net_dev)
i++, mclist = mclist->next) { i++, mclist = mclist->next) {
unsigned int bit_nr = unsigned int bit_nr =
sis900_mcast_bitnr(mclist->dmi_addr, revision); sis900_mcast_bitnr(mclist->dmi_addr, revision);
mc_filter[bit_nr >> 4] |= (1 << bit_nr); mc_filter[bit_nr >> 4] |= (1 << (bit_nr & 0xf));
} }
} }
......
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