linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] android/pan: Fix wrong HAL service id
@ 2013-11-15  9:59 Ravi kumar Veeramally
  2013-11-15  9:59 ` [PATCH 2/2] android/hal-ipc: Add pan notification call to hal-ipc dispatch handler Ravi kumar Veeramally
  2013-11-15 10:03 ` [PATCH 1/2] android/pan: Fix wrong HAL service id Johan Hedberg
  0 siblings, 2 replies; 3+ messages in thread
From: Ravi kumar Veeramally @ 2013-11-15  9:59 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Ravi kumar Veeramally

---
 android/pan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/pan.c b/android/pan.c
index 061e611..46b3700 100644
--- a/android/pan.c
+++ b/android/pan.c
@@ -87,7 +87,7 @@ void bt_pan_handle_cmd(int sk, uint8_t opcode, void *buf, uint16_t len)
 		break;
 	}
 
-	ipc_send_rsp(sk, HAL_SERVICE_ID_A2DP, status);
+	ipc_send_rsp(sk, HAL_SERVICE_ID_PAN, status);
 }
 
 bool bt_pan_register(int sk, const bdaddr_t *addr)
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] android/hal-ipc: Add pan notification call to hal-ipc dispatch handler
  2013-11-15  9:59 [PATCH 1/2] android/pan: Fix wrong HAL service id Ravi kumar Veeramally
@ 2013-11-15  9:59 ` Ravi kumar Veeramally
  2013-11-15 10:03 ` [PATCH 1/2] android/pan: Fix wrong HAL service id Johan Hedberg
  1 sibling, 0 replies; 3+ messages in thread
From: Ravi kumar Veeramally @ 2013-11-15  9:59 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Ravi kumar Veeramally

---
 android/hal-ipc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/android/hal-ipc.c b/android/hal-ipc.c
index e1c8dd7..026e245 100644
--- a/android/hal-ipc.c
+++ b/android/hal-ipc.c
@@ -55,6 +55,9 @@ static void notification_dispatch(struct hal_hdr *msg, int fd)
 	case HAL_SERVICE_ID_A2DP:
 		bt_notify_a2dp(msg->opcode, msg->payload, msg->len);
 		break;
+	case HAL_SERVICE_ID_PAN:
+		bt_notify_pan(msg->opcode, msg->payload, msg->len);
+		break;
 	default:
 		DBG("Unhandled notification service=%d opcode=0x%x",
 						msg->service_id, msg->opcode);
-- 
1.8.3.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] android/pan: Fix wrong HAL service id
  2013-11-15  9:59 [PATCH 1/2] android/pan: Fix wrong HAL service id Ravi kumar Veeramally
  2013-11-15  9:59 ` [PATCH 2/2] android/hal-ipc: Add pan notification call to hal-ipc dispatch handler Ravi kumar Veeramally
@ 2013-11-15 10:03 ` Johan Hedberg
  1 sibling, 0 replies; 3+ messages in thread
From: Johan Hedberg @ 2013-11-15 10:03 UTC (permalink / raw)
  To: Ravi kumar Veeramally; +Cc: linux-bluetooth

Hi Ravi,

On Fri, Nov 15, 2013, Ravi kumar Veeramally wrote:
> ---
>  android/pan.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Both patches have been applied. Thanks.

Johan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-15 10:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-15  9:59 [PATCH 1/2] android/pan: Fix wrong HAL service id Ravi kumar Veeramally
2013-11-15  9:59 ` [PATCH 2/2] android/hal-ipc: Add pan notification call to hal-ipc dispatch handler Ravi kumar Veeramally
2013-11-15 10:03 ` [PATCH 1/2] android/pan: Fix wrong HAL service id Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).