mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-25 21:24:16 +08:00
Update device state when accepting an incomming connection
This commit is contained in:
parent
a9dc7333cf
commit
ca470c662b
@ -424,6 +424,7 @@ static gboolean server_io_cb(GIOChannel *chan, GIOCondition cond, void *data)
|
||||
|
||||
debug("Accepted connection from %s, %s", hs_address, hs->object_path);
|
||||
|
||||
hs->state = HEADSET_STATE_CONNECTED;
|
||||
hs_signal(hs, "Connected");
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user