[ar71xx] experimental support for 2.6.27
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-2.6.27 / 800-remove_netif_schedule.patch
1 --- a/drivers/net/ag71xx/ag71xx_phy.c
2 +++ b/drivers/net/ag71xx/ag71xx_phy.c
3 @@ -171,12 +171,8 @@
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;