mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 21:59:54 +01:00
Abort connection attempt if NO CARRIER is received from modem.
This commit is contained in:
@@ -205,7 +205,8 @@ class ModemImpl implements Modem, WriteHandler, SerialPortEventListener {
|
|||||||
reliabilityLayer.handleRead(data);
|
reliabilityLayer.handleRead(data);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
} else if(s.equals("BUSY") || s.equals("NO DIALTONE")) {
|
} else if(s.equals("BUSY") || s.equals("NO DIALTONE")
|
||||||
|
|| s.equals("NO CARRIER")) {
|
||||||
synchronized(connected) {
|
synchronized(connected) {
|
||||||
connected.notifyAll();
|
connected.notifyAll();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user