mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[kernel] fix mvswitch PHY polling setting (#8133)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23862 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
09f68e4a53
commit
88b6609907
@ -247,7 +247,7 @@ mvswitch_config_init(struct phy_device *pdev)
|
||||
pdev->supported = ADVERTISED_100baseT_Full;
|
||||
pdev->advertising = ADVERTISED_100baseT_Full;
|
||||
dev->phy_ptr = priv;
|
||||
dev->irq = PHY_POLL;
|
||||
pdev->irq = PHY_POLL;
|
||||
#ifdef HEADER_MODE
|
||||
dev->flags |= IFF_PROMISC;
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user