NFC: Add timeout when waiting for responses in probe
Add timeout of MAX_IBI_WAIT_TIME(ms) when waiting for responses in probe.
Without this timeout, device boot can be stuck if there is no response
for NFC commands, as nfc probe waiting for responses indefinitely.
Change-Id: Iecfb318d72a8d80eba8fa7977007125fa372eaa5
Signed-off-by:
Karthik Poosa <kpoosa2@codeaurora.org>
Loading
Please register or sign in to comment