From a9f78621725f5ae651c3d89fdb1f853e703300fe Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 14 Aug 2015 08:36:30 +0300 Subject: [PATCH] emulator: Fix parameter order in le_conn_update() The values are passed by the only caller in min, max order, which makes sense since that's how they are over HCI as well. Update the function to match this. --- emulator/btdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulator/btdev.c b/emulator/btdev.c index cd211efba..e4c85f827 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -1195,7 +1195,7 @@ static void conn_request(struct btdev *btdev, const uint8_t *bdaddr) } static void le_conn_update(struct btdev *btdev, uint16_t handle, - uint16_t max_interval, uint16_t min_interval, + uint16_t min_interval, uint16_t max_interval, uint16_t latency, uint16_t supv_timeout, uint16_t min_length, uint16_t max_length) { -- 2.47.3