[PATCH RESEND 2/2] android/handsfree-client: Trivial fix typo

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

 



---
 android/hal-msg.h          | 2 +-
 android/handsfree-client.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/android/hal-msg.h b/android/hal-msg.h
index d43cdbe..3cf2d85 100644
--- a/android/hal-msg.h
+++ b/android/hal-msg.h
@@ -2226,7 +2226,7 @@ struct hal_ev_hf_client_call_waiting {
 } __attribute__((packed));
 
 #define HAL_HF_CLIENT_DIRECTION_OUTGOING	0x00
-#define HAL_HF_CLIENT_DIRECTION_INCOMIGN	0x01
+#define HAL_HF_CLIENT_DIRECTION_INCOMING	0x01
 
 #define HAL_HF_CLIENT_CALL_STATE_ACTIVE			0x00
 #define HAL_HF_CLIENT_CALL_STATE_HELD			0x01
diff --git a/android/handsfree-client.c b/android/handsfree-client.c
index 3eb8517..007ac32 100644
--- a/android/handsfree-client.c
+++ b/android/handsfree-client.c
@@ -954,7 +954,7 @@ static void clcc_cb(struct hfp_context *context, void *user_data)
 	ev->index = val;
 
 	if (!hfp_context_get_number(context, &val) ||
-				val > HAL_HF_CLIENT_DIRECTION_INCOMIGN) {
+				val > HAL_HF_CLIENT_DIRECTION_INCOMING) {
 		error("hf-client: Could not get direction");
 		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