hfp_ag_bluez5: Send HFP version when registering

This commit is contained in:
Claudio Takahasi 2013-02-20 19:26:19 -03:00 committed by Denis Kenzior
parent f765427b22
commit 28603a98ce
1 changed files with 6 additions and 2 deletions

View File

@ -30,11 +30,15 @@
#include <glib.h>
#include <ofono.h>
#include <gdbus.h>
#include <gatchat.h>
#define OFONO_API_SUBJECT_TO_CHANGE
#include <ofono/plugin.h>
#include <ofono/log.h>
#include <ofono/modem.h>
#include <gdbus.h>
#include <drivers/hfpmodem/slc.h>
#include "bluez5.h"
@ -176,7 +180,7 @@ static void sim_state_watch(enum ofono_sim_state new_state, void *data)
if (modems->next != NULL)
return;
bt_register_profile(conn, HFP_AG_UUID, "hfp_ag",
bt_register_profile(conn, HFP_AG_UUID, HFP_VERSION_1_5, "hfp_ag",
HFP_AG_EXT_PROFILE_PATH);
}