call preinit instead of init
[openwrt.git] / target / linux / ar71xx / patches-2.6.28 / 800-ag71xx_remove_netif_schedule.patch
1 --- a/drivers/net/ag71xx/ag71xx_phy.c
2 +++ b/drivers/net/ag71xx/ag71xx_phy.c
3 @@ -138,12 +138,8 @@ static void ag71xx_phy_link_adjust(struc
4 }
5 }
6
7 - if (phydev->link != ag->link) {
8 - if (phydev->link)
9 - netif_schedule(dev);
10 -
11 + if (phydev->link != ag->link)
12 status_change = 1;
13 - }
14
15 ag->link = phydev->link;
16 ag->duplex = phydev->duplex;
This page took 0.04182 seconds and 5 git commands to generate.