diff options
author | Brian Gix <brian.gix@intel.com> | 2019-11-15 14:52:09 -0800 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2019-11-19 15:22:18 -0800 |
commit | 4853937eddf0b6dd66e73a69ce2a6c241a5f74fa (patch) | |
tree | 373b8db35b9ccce1830540e2f7404674812caf7e /mesh/prov-acceptor.c | |
parent | 53a81750db14187e80e378a11c21a9b6240ac9c9 (diff) | |
download | bluez-4853937eddf0b6dd66e73a69ce2a6c241a5f74fa.tar.gz |
mesh: Fix inOOB and outOOB agent handling on prov initiate
This code fixes the Provisioner Initiator role so that the following
Out-of-Band agent calls are made correctly, and their results handled
properly:
"push", "twist", "blink", "beep", "vibrate", "in-numeric",
"out-numeric", "in-alpha", "out-alpha"
Diffstat (limited to 'mesh/prov-acceptor.c')
-rw-r--r-- | mesh/prov-acceptor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesh/prov-acceptor.c b/mesh/prov-acceptor.c index 57eb1e750..bca019358 100644 --- a/mesh/prov-acceptor.c +++ b/mesh/prov-acceptor.c @@ -479,7 +479,7 @@ static void acp_prov_rx(void *user_data, const uint8_t *data, uint16_t len) if (prov->conf_inputs.start.auth_action == PROV_ACTION_IN_ALPHA) { fail.reason = mesh_agent_prompt_alpha( - prov->agent, + prov->agent, false, static_cb, prov); } else { fail.reason = mesh_agent_prompt_number( |