mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-19 10:05:09 +08:00
Remove bogus if-check when DUN client disconnects
This commit is contained in:
parent
23f75004d8
commit
0a658cd945
@ -146,7 +146,6 @@ static gboolean client_event(GIOChannel *chan,
|
||||
debug("Disconnected DUN from %s (%s)", addr, client->tty_name);
|
||||
|
||||
client->io_watch = 0;
|
||||
if (client->pnatd_pid < 0)
|
||||
disconnect(server);
|
||||
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user