mirror of
https://github.com/digarok/gsplus.git
synced 2024-06-15 10:29:29 +00:00
Socket driver isn't modem
The socket driver erroneously acts like a modem on disconnect unconditionally, even when told not to. Correct that (fixes digarok/gsplus#118)
This commit is contained in:
parent
4805720545
commit
92ff3fa291
|
@ -332,7 +332,9 @@ void scc_socket_close(int port, int full_close, double dcycs) {
|
|||
return;
|
||||
}
|
||||
|
||||
scc_socket_modem_hangup(port, dcycs);
|
||||
if(g_serial_modem[port]) {
|
||||
scc_socket_modem_hangup(port, dcycs);
|
||||
}
|
||||
|
||||
/* and go back to modem mode */
|
||||
scc_ptr->socket_state = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user