[PATCH] Speedtouch resync after lost signal.
There's a bigger Speedtouch update coming your way after 2.6.12 but in the meantime, let's at least make it automatically resync if the DSL signal is lost. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
d0e8e29100
commit
0e15850200
|
@ -386,6 +386,8 @@ static void speedtch_poll_status(struct speedtch_instance_data *instance)
|
||||||
if (instance->u.atm_dev->signal != ATM_PHY_SIG_LOST) {
|
if (instance->u.atm_dev->signal != ATM_PHY_SIG_LOST) {
|
||||||
instance->u.atm_dev->signal = ATM_PHY_SIG_LOST;
|
instance->u.atm_dev->signal = ATM_PHY_SIG_LOST;
|
||||||
printk(KERN_NOTICE "ADSL line is down\n");
|
printk(KERN_NOTICE "ADSL line is down\n");
|
||||||
|
/* It'll never resync again unless we ask it to... */
|
||||||
|
speedtch_start_synchro(instance);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue