diff options
Diffstat (limited to 'net/sched/sch_generic.c')
-rw-r--r-- | net/sched/sch_generic.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/sched/sch_generic.c b/net/sched/sch_generic.c index 95ae11956f3..e01d57692c9 100644 --- a/net/sched/sch_generic.c +++ b/net/sched/sch_generic.c | |||
@@ -249,10 +249,11 @@ static void dev_watchdog_down(struct net_device *dev) | |||
249 | */ | 249 | */ |
250 | void netif_carrier_on(struct net_device *dev) | 250 | void netif_carrier_on(struct net_device *dev) |
251 | { | 251 | { |
252 | if (test_and_clear_bit(__LINK_STATE_NOCARRIER, &dev->state)) | 252 | if (test_and_clear_bit(__LINK_STATE_NOCARRIER, &dev->state)) { |
253 | linkwatch_fire_event(dev); | 253 | linkwatch_fire_event(dev); |
254 | if (netif_running(dev)) | 254 | if (netif_running(dev)) |
255 | __netdev_watchdog_up(dev); | 255 | __netdev_watchdog_up(dev); |
256 | } | ||
256 | } | 257 | } |
257 | 258 | ||
258 | /** | 259 | /** |