From dd78814e7ffb6a80646b0748ee5ac64600588992 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 19 Feb 2014 15:11:08 +0200 Subject: [PATCH] tools/bthost: Fix RFCOMM channel variable type --- emulator/bthost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulator/bthost.c b/emulator/bthost.c index 2d94d197e..fe78ec5f0 100644 --- a/emulator/bthost.c +++ b/emulator/bthost.c @@ -1612,7 +1612,7 @@ static struct cid_hook *find_cid_hook(struct btconn *conn, uint16_t cid) } static struct rfcomm_chan_hook *find_rfcomm_chan_hook(struct btconn *conn, - uint16_t channel) + uint8_t channel) { struct rfcomm_chan_hook *hook; -- 2.47.3