summaryrefslogtreecommitdiff
path: root/src/phLibNfc_discovery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/phLibNfc_discovery.c')
-rw-r--r--src/phLibNfc_discovery.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/phLibNfc_discovery.c b/src/phLibNfc_discovery.c
index 1fe4d8f..c512f73 100644
--- a/src/phLibNfc_discovery.c
+++ b/src/phLibNfc_discovery.c
@@ -194,7 +194,14 @@ NFCSTATUS phLibNfc_Mgt_ConfigureDiscovery (
}
else
{
- RetVal=NFCSTATUS_FAILED;
+ if (PHNFCSTATUS(RetVal) == NFCSTATUS_BUSY)
+ {
+ RetVal = NFCSTATUS_BUSY;
+ }
+ else
+ {
+ RetVal=NFCSTATUS_FAILED;
+ }
}
}