OSDN Git Service

android: haltest: Enable av interface in test tool
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Thu, 24 Oct 2013 07:10:38 +0000 (10:10 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 24 Oct 2013 07:24:23 +0000 (10:24 +0300)
android/client/if-bt.c

index 2d9c0b5..f5c84c1 100644 (file)
@@ -803,7 +803,7 @@ static void get_profile_interface_p(int argc, const char **argv)
        if (strcmp(BT_PROFILE_HANDSFREE_ID, id) == 0)
                pif = &dummy; /* TODO: change when if_hf is there */
        else if (strcmp(BT_PROFILE_ADVANCED_AUDIO_ID, id) == 0)
-               pif = &dummy; /* TODO: change when if_av is there */
+               pif = (const void **)&if_av;
        else if (strcmp(BT_PROFILE_HEALTH_ID, id) == 0)
                pif = &dummy; /* TODO: change when if_hl is there */
        else if (strcmp(BT_PROFILE_SOCKETS_ID, id) == 0)