summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDejan REBRACA <dejanx.rebraca@intel.com>2012-06-20 11:33:17 +0200
committerShuo Gao <shuo.gao@intel.com>2012-08-14 21:53:41 +0800
commitf0096a6bac78ff99f255332771867f59b2d6d73b (patch)
tree531aaf0ea6cb91bbc6fe83c640ea5bf5df3bb956 /src
parentb668d06f9447b613f6e8e65817e12ccd8d2b6225 (diff)
downloadexternal_libnfc-nxp-f0096a6bac78ff99f255332771867f59b2d6d73b.zip
external_libnfc-nxp-f0096a6bac78ff99f255332771867f59b2d6d73b.tar.gz
external_libnfc-nxp-f0096a6bac78ff99f255332771867f59b2d6d73b.tar.bz2
HCI ANY_OPEN_PIPE on identity management gate crash fix
Apparently, host identity management gate does not support HCI commands coming from another host (including host controller). This patch fixes a tombstone when receiving an HCI command from another host, but still doesn't have a mechanism to treat the command. Change-Id: Ib72df6bac8f503f2b66998ee6e687ae99c15d17b Author: Dejan Rebraca <dejanx.rebraca@intel.com> Signed-off-by: Dejan Rebraca <dejanx.rebraca@intel.com> Signed-off-by: Sebastian Niciarz <sebastian.niciarz@intel.com> Singed-off-by: Shuo Gao <shuo.gao@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com> Author-tracking-BZ: 42426
Diffstat (limited to 'src')
-rw-r--r--src/phHciNfc_AdminMgmt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/phHciNfc_AdminMgmt.c b/src/phHciNfc_AdminMgmt.c
index b65abf2..45298a1 100644
--- a/src/phHciNfc_AdminMgmt.c
+++ b/src/phHciNfc_AdminMgmt.c
@@ -997,6 +997,7 @@ static
pipe_id = hcp_message->payload[RESPONSE_PIPEID_OFFSET];
p_pipe_info = (phHciNfc_Pipe_Info_t *)
phOsalNfc_GetMemory(sizeof(phHciNfc_Pipe_Info_t));
+ memset(p_pipe_info, 0, sizeof(phHciNfc_Pipe_Info_t));
if(NULL != p_pipe_info)
{
/* The Source Host is the UICC Host */