Bluetooth: A2DP: Removes confirmation callback registration

Confirmation callbacks needed not be registered with AVDTP
during A2DP initialization

Change-Id: I2cdf8c5a283775e49fa6e7e9404024e26d05a767
Signed-off-by: Piyush Itankar <piyush.t.itankar@intel.com>
This commit is contained in:
Piyush Itankar 2017-01-04 10:40:52 +05:30 committed by Johan Hedberg
commit 4b5e19d21c

View file

@ -49,11 +49,6 @@ struct bt_a2dp {
/* Connections */ /* Connections */
static struct bt_a2dp connection[CONFIG_BLUETOOTH_MAX_CONN]; static struct bt_a2dp connection[CONFIG_BLUETOOTH_MAX_CONN];
/* Callback for action confirmation */
static struct bt_avdtp_cfm_cb cb_cfm = {
/*TODO*/
};
/* Callback for incoming requests */ /* Callback for incoming requests */
static struct bt_avdtp_ind_cb cb_ind = { static struct bt_avdtp_ind_cb cb_ind = {
/*TODO*/ /*TODO*/
@ -62,7 +57,6 @@ static struct bt_avdtp_ind_cb cb_ind = {
/* The above callback structures need to be packed and passed to AVDTP */ /* The above callback structures need to be packed and passed to AVDTP */
static struct bt_avdtp_event_cb avdtp_cb = { static struct bt_avdtp_event_cb avdtp_cb = {
.ind = &cb_ind, .ind = &cb_ind,
.cfm = &cb_cfm
}; };
int bt_a2dp_init(void) int bt_a2dp_init(void)