Skip to content
Commit 3dab99e0 authored by Vince Bridgers's avatar Vince Bridgers Committed by David S. Miller
Browse files

stmmac: correct mc_filter local variable in set_filter and set_mac_addr call



Testing revealed that the local variable mc_filter was dimensioned
incorrectly for all possible configurations and get_mac_addr should
have been set_mac_addr (a typo). Make sure mc_filter is dimensioned
to 8 32-bit unsigned longs - the largest size of the Synopsys
multicast filter register set.

Signed-off-by: default avatarVince Bridgers <vbridger@opensource.altera.com>
Acked-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3b3d136c
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