mvswitch: set the netdevice into promiscuous mode when header mode is enabled, otherwise packets may get dropped
SVN-Revision: 17469
This commit is contained in:
parent
d101694d97
commit
d0bdbdc64f
|
@ -248,6 +248,9 @@ mvswitch_config_init(struct phy_device *pdev)
|
|||
pdev->advertising = ADVERTISED_100baseT_Full;
|
||||
dev->phy_ptr = priv;
|
||||
dev->irq = PHY_POLL;
|
||||
#ifdef HEADER_MODE
|
||||
dev->flags |= IFF_PROMISC;
|
||||
#endif
|
||||
|
||||
/* initialize default vlans */
|
||||
for (i = 0; i < MV_PORTS; i++)
|
||||
|
|
Loading…
Reference in New Issue