commit 0490c25fdeb91287ed520639da359faef81def24
parent 48570141ba88521c21948f8763e7ad8b414951eb
Author: Tim Kourt <tim.a.kourt@linux.intel.com>
Date: Fri, 8 Nov 2019 17:04:00 -0500
scan: Fix bit checking for interworking
The checker function will later be changed to match the bit setter.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;