projects
/
platform
/
core
/
api
/
nfc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af51de2
)
Fix Svace issue : 148626
04/103004/1
author
Jihoon Jung
<jh8801.jung@samsung.com>
Wed, 7 Dec 2016 04:29:28 +0000
(13:29 +0900)
committer
Jihoon Jung
<jh8801.jung@samsung.com>
Wed, 7 Dec 2016 04:30:09 +0000
(13:30 +0900)
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Change-Id: I2feb130f9d5f581da4b59ea8167ac7e4fa83a6f9
src/nfc_p2p_handover.c
patch
|
blob
|
history
diff --git
a/src/nfc_p2p_handover.c
b/src/nfc_p2p_handover.c
index
df933d8
..
de4056f
100755
(executable)
--- a/
src/nfc_p2p_handover.c
+++ b/
src/nfc_p2p_handover.c
@@
-96,6
+96,7
@@
int nfc_p2p_connection_handover(nfc_p2p_target_h target,
/* LCOV_EXCL_START */
CHECK_INIT();
CHECK_INVALID(target == NULL);
+ CHECK_INVALID(type < 0);
CHECK_INVALID(type > NFC_AC_TYPE_UNKNOWN);
CHECK_ACTIVATED();
@@
-115,9
+116,6
@@
int nfc_p2p_connection_handover(nfc_p2p_target_h target,
case NFC_AC_TYPE_UNKNOWN:
net_ac_type = NET_NFC_CONN_HANDOVER_CARRIER_UNKNOWN;
break;
-
- default:
- break;
}
parameter = g_variant_new("(uu)",