diff options
author | Sylvain Fonteneau <sylvain.fonteneau@trusted-logic.com> | 2010-12-13 11:30:14 +0100 |
---|---|---|
committer | Jeff Hamilton <jham@android.com> | 2010-12-13 10:24:31 -0600 |
commit | bc161ef03aa21063091a69c36a0163306640468f (patch) | |
tree | 2f8f18bcaa3e95f7969f30296a9177cc0682ff0c /src | |
parent | c2c730a21faacadbb607bfa182795262d00a8ec7 (diff) | |
download | external_libnfc-nxp-bc161ef03aa21063091a69c36a0163306640468f.zip external_libnfc-nxp-bc161ef03aa21063091a69c36a0163306640468f.tar.gz external_libnfc-nxp-bc161ef03aa21063091a69c36a0163306640468f.tar.bz2 |
Do not clear LLCP listen callback when an incoming socket is detected.
This would prohibit detection of multiple incoming socket in a row.
Change-Id: I9e3907a92b706de2da7642ccd92668b9868d1996
Diffstat (limited to 'src')
-rw-r--r-- | src/phFriNfc_LlcpTransport_Connection.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/phFriNfc_LlcpTransport_Connection.c b/src/phFriNfc_LlcpTransport_Connection.c index b169ea3..4b89bbb 100644 --- a/src/phFriNfc_LlcpTransport_Connection.c +++ b/src/phFriNfc_LlcpTransport_Connection.c @@ -728,7 +728,6 @@ static void Handle_ConnectionFrame(phFriNfc_LlcpTransport_t *psTransport, /* Get the ListenCB of the socket */ pListen_Cb = psLocalLlcpSocket->pfSocketListen_Cb; pListenContext = psLocalLlcpSocket->pListenContext; - psLocalLlcpSocket->pfSocketListen_Cb = NULL; break; } } @@ -749,7 +748,6 @@ static void Handle_ConnectionFrame(phFriNfc_LlcpTransport_t *psTransport, /* Get the Listen CB and the Context of the socket */ pListen_Cb = psLocalLlcpSocket->pfSocketListen_Cb; pListenContext = psLocalLlcpSocket->pListenContext; - psLocalLlcpSocket->pfSocketListen_Cb = NULL; break; } } |