summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Xie <mattx@google.com>2012-10-26 16:12:14 -0700
committerMatthew Xie <mattx@google.com>2012-10-26 16:12:14 -0700
commit02f8bc6eeb93809da4a7dee62fd092095a11d885 (patch)
treef9fd4654d4f11150b0b008a94308a01be8d3ed97
parent215521081ab1e545ad5da6d85372cbbd251b4a05 (diff)
downloadexternal_bluetooth_bluedroid-02f8bc6eeb93809da4a7dee62fd092095a11d885.zip
external_bluetooth_bluedroid-02f8bc6eeb93809da4a7dee62fd092095a11d885.tar.gz
external_bluetooth_bluedroid-02f8bc6eeb93809da4a7dee62fd092095a11d885.tar.bz2
Address type should be UINT8 instead of char for btif_media_check_iop_exceptions
Fix a type mismatch error introduced by last checkin: Manage a2dp frame distribution... bug 7302257 Change-Id: I8fec02d416e9bd0f2a1cca72e0bbc5d2f704b29a
-rw-r--r--btif/include/btif_media.h2
-rwxr-xr-xbtif/src/btif_av.c2
-rwxr-xr-xbtif/src/btif_media_task.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/btif/include/btif_media.h b/btif/include/btif_media.h
index eb4c2b4..b3b72e7 100644
--- a/btif/include/btif_media.h
+++ b/btif/include/btif_media.h
@@ -243,6 +243,6 @@ void btif_a2dp_on_suspend(void);
void btif_a2dp_on_suspended(tBTA_AV_SUSPEND *p_av);
void btif_a2dp_set_tx_flush(BOOLEAN enable);
-void btif_media_check_iop_exceptions(char *peer_bda);
+void btif_media_check_iop_exceptions(UINT8 *peer_bda);
#endif
diff --git a/btif/src/btif_av.c b/btif/src/btif_av.c
index af4830f..4419c22 100755
--- a/btif/src/btif_av.c
+++ b/btif/src/btif_av.c
@@ -463,7 +463,7 @@ static BOOLEAN btif_av_state_opened_handler(btif_sm_event_t event, void *p_data)
switch (event)
{
case BTIF_SM_ENTER_EVT:
- btif_media_check_iop_exceptions((char *)btif_av_cb.peer_bda.address);
+ btif_media_check_iop_exceptions(btif_av_cb.peer_bda.address);
break;
case BTIF_SM_EXIT_EVT:
diff --git a/btif/src/btif_media_task.c b/btif/src/btif_media_task.c
index 68b2e4c..8978cf6 100755
--- a/btif/src/btif_media_task.c
+++ b/btif/src/btif_media_task.c
@@ -2192,7 +2192,7 @@ static void btif_media_send_aa_frame(void)
**
*******************************************************************************/
-void btif_media_check_iop_exceptions(char *peer_bda)
+void btif_media_check_iop_exceptions(UINT8 *peer_bda)
{
/* disable rate scaling for pcm carkit */
if ((peer_bda[0] == 0x00) &&