OSDN Git Service

android/hal-ipc: Add pan notification call to hal-ipc dispatch handler
authorRavi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
Fri, 15 Nov 2013 09:59:25 +0000 (11:59 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 15 Nov 2013 10:02:39 +0000 (12:02 +0200)
android/hal-ipc.c

index e1c8dd7..026e245 100644 (file)
@@ -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);