[RFC 01/15] android/client-av: Fix checking for a2dp interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 android/client/if-av.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/android/client/if-av.c b/android/client/if-av.c
index 0470e0d..8d1f69b 100644
--- a/android/client/if-av.c
+++ b/android/client/if-av.c
@@ -80,7 +80,7 @@ static void connect_p(int argc, const char **argv)
 {
 	bt_bdaddr_t addr;
 
-	RETURN_IF_NULL(if_hh);
+	RETURN_IF_NULL(if_av);
 	VERIFY_ADDR_ARG(2, &addr);
 
 	EXEC(if_av->connect, &addr);
@@ -101,7 +101,7 @@ static void disconnect_p(int argc, const char **argv)
 {
 	bt_bdaddr_t addr;
 
-	RETURN_IF_NULL(if_hh);
+	RETURN_IF_NULL(if_av);
 	VERIFY_ADDR_ARG(2, &addr);
 
 	EXEC(if_av->disconnect, &addr);
-- 
1.8.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux