Diff between 3fa4e17b2e453bec804ad72dc7a9b91bb8136e9e and d48132c844ff7e287e13ba16f01697738d89c132

Changed Files

File Additions Deletions Status
android/pan.c +1 -0 modified

Full Patch

diff --git a/android/pan.c b/android/pan.c
index e89461e..9e388c3 100644
--- a/android/pan.c
+++ b/android/pan.c
@@ -115,6 +115,7 @@ static void bt_pan_notify_ctrl_state(struct pan_device *dev, uint8_t state)
 	ev.state = state;
 	ev.local_role = local_role;
 	ev.status = HAL_STATUS_SUCCESS;
+	memset(ev.name, 0, sizeof(ev.name));
 	memcpy(ev.name, dev->iface, sizeof(dev->iface));
 
 	ipc_send_notif(HAL_SERVICE_ID_PAN, HAL_EV_PAN_CTRL_STATE, sizeof(ev),