[PATCH] android/client: Allow empty string for dial command

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

 



Empty string is used for redial command
---
 android/client/if-hf-client.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/android/client/if-hf-client.c b/android/client/if-hf-client.c
index 1108639..a837401 100644
--- a/android/client/if-hf-client.c
+++ b/android/client/if-hf-client.c
@@ -533,7 +533,8 @@ static void dial_p(int argc, const char **argv)
 
 	/* number string */
 	if (argc <= 2) {
-		haltest_error("No number specified\n");
+		haltest_info("Number not specified. Redial\n");
+		EXEC(if_hf_client->dial, NULL);
 		return;
 	}
 
-- 
1.8.4

--
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