diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/handsfree-audio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/handsfree-audio.c b/src/handsfree-audio.c index 5179dddd..0bdeb990 100644 --- a/src/handsfree-audio.c +++ b/src/handsfree-audio.c @@ -598,6 +598,8 @@ static void agent_disconnect(DBusConnection *conn, void *user_data) agent_free(agent); agent = NULL; + + has_wideband = FALSE; } static void append_card(void *data, void *userdata) @@ -734,6 +736,8 @@ static DBusMessage *am_agent_unregister(DBusConnection *conn, agent_free(agent); agent = NULL; + has_wideband = FALSE; + DBG("Agent %s unregistered", sender); return dbus_message_new_method_return(msg); |