diff options
author | Anderson Lizardo <anderson.lizardo@openbossa.org> | 2012-04-27 10:57:02 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-05-02 14:52:15 +0300 |
commit | 8a255b3569a39837ae85491a07ac9e589865f8e0 (patch) | |
tree | 5d3735b66973ccac228203988d582fd93d510e49 /plugins | |
parent | 2aa45c5fc5c7b12edc38417b99dfec1ebe929837 (diff) | |
download | bluez-8a255b3569a39837ae85491a07ac9e589865f8e0.tar.gz bluez-8a255b3569a39837ae85491a07ac9e589865f8e0.tar.xz bluez-8a255b3569a39837ae85491a07ac9e589865f8e0.zip |
mgmtops: Fix wrong parameter order for btd_event_ltk_notify()
The "master" parameter was in the wrong place.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mgmtops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mgmtops.c b/plugins/mgmtops.c index ddd544db..22fa3299 100644 --- a/plugins/mgmtops.c +++ b/plugins/mgmtops.c @@ -1694,9 +1694,9 @@ static void mgmt_new_ltk(int sk, uint16_t index, void *buf, size_t len) if (ev->store_hint) { btd_event_ltk_notify(&info->bdaddr, &ev->key.addr.bdaddr, - ev->key.addr.type, ev->key.val, + ev->key.addr.type, ev->key.val, ev->key.master, ev->key.authenticated, ev->key.enc_size, - ev->key.master, ev->key.ediv, ev->key.rand); + ev->key.ediv, ev->key.rand); } if (ev->key.master) |