Revert "net: xilinx: axienet: Always disable promiscuous mode"

This reverts commit a7875446c0.
This commit is contained in:
Ksawlii 2024-11-24 00:23:51 +01:00
parent 09bc706e3c
commit 6fe606a02b

View file

@ -427,10 +427,6 @@ static void axienet_set_multicast_list(struct net_device *ndev)
} else if (!netdev_mc_empty(ndev)) {
struct netdev_hw_addr *ha;
reg = axienet_ior(lp, XAE_FMI_OFFSET);
reg &= ~XAE_FMI_PM_MASK;
axienet_iow(lp, XAE_FMI_OFFSET, reg);
i = 0;
netdev_for_each_mc_addr(ha, ndev) {
if (i >= XAE_MULTICAST_CAM_TABLE_NUM)