From 0490c25fdeb91287ed520639da359faef81def24 Mon Sep 17 00:00:00 2001 From: Tim Kourt Date: Fri, 8 Nov 2019 17:04:00 -0500 Subject: [PATCH] scan: Fix bit checking for interworking The checker function will later be changed to match the bit setter. --- src/scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scan.c b/src/scan.c index 4bc95afe..f1317686 100644 --- a/src/scan.c +++ b/src/scan.c @@ -305,7 +305,7 @@ static struct l_genl_msg *scan_build_cmd(struct scan_context *sc, iov[iov_elems].iov_len = ext_capa[1] + 2; iov_elems++; - if (util_is_bit_set(ext_capa[3], 7)) { + if (util_is_bit_set(ext_capa[2 + 3], 7)) { /* Order 12 - Interworking */ interworking[0] = IE_TYPE_INTERWORKING; interworking[1] = 1;