projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2eb2c7
)
mesh: Send input complete for input OOB Authentication
59/228959/1
author
Prathyusha N
<prathyusha.n@samsung.com>
Tue, 24 Mar 2020 19:27:23 +0000
(
00:57
+0530)
committer
Anupam Roy
<anupam.r@samsung.com>
Thu, 26 Mar 2020 10:39:03 +0000
(16:09 +0530)
Send input complete when user completes input operation.
Change-Id: Iff9e863e2392992aa838884c56b05bbdfd35c641
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/prov-acceptor.c
patch
|
blob
|
history
diff --git
a/mesh/prov-acceptor.c
b/mesh/prov-acceptor.c
index
d395bc5
..
24be70a
100644
(file)
--- a/
mesh/prov-acceptor.c
+++ b/
mesh/prov-acceptor.c
@@
-278,6
+278,12
@@
static void static_cb(void *user_data, int err, uint8_t *key, uint32_t len)
memcpy(prov->rand_auth_workspace + 16, key, 16);
memcpy(prov->rand_auth_workspace + 32, key, 16);
prov->material |= MAT_RAND_AUTH;
+
+ if (prov->conf_inputs.start.auth_action ==
+ PROV_ACTION_IN_ALPHA) {
+ msg.opcode = PROV_INP_CMPLT;
+ prov->trans_tx(prov->trans_data, &msg.opcode, 1);
+ }
}
static void priv_key_cb(void *user_data, int err, uint8_t *key, uint32_t len)