Skip to content
Commit 4c7a9428 authored by Ramesh Babu B's avatar Ramesh Babu B Committed by David S. Miller
Browse files

net: stmmac: Clear receive all(RA) bit when promiscuous mode is off

In promiscuous mode Receive All bit is set in GMAC packet filter register,
but outside promiscuous mode Receive All bit is not cleared,
which resulted in all network packets are received when toggle (ON/OFF)
the promiscuous mode.

Fixes: e0f9956a

 ("net: stmmac: Add option for VLAN filter fail queue enable")
Signed-off-by: default avatarRamesh Babu B <ramesh.babu.b@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c61760e6
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