Parent: aa005c05b6c7fb4b8164c5009740270acb714a6b
Author: Alex Deymo <deymo@chromium.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-03-21 10:59:33
Tree: 64a899ff9ce8740fda79d5c8e637d9cd2a2ea91a
core: Fix wrong argument on agent *_cb functions. The last argument for the functions pincode_cb, passkey_cb and confirm_cb is a user data pointer with the "void *". Those functions expect a "struct authentication_req *", but insted a "struct btd_device*" without any complaint from the compiler due the void* cast. This fix passes the right argument to those functions. Other uses of those functions as callbacks (agent_request_passkey, agent_request_pincode, agent_request_authorization and agent_request_confirmation) pass the right struct authentication_req *.
Diffstat
| M | src/device.c | | | 10 | ++++- - - - - - |
1 files changed, 4 insertions(+), 6 deletions(-)