scan: Fix bit checking for interworking

The checker function will later be changed to match the bit setter.
This commit is contained in:
Tim Kourt 2019-11-08 17:04:00 -05:00 committed by Denis Kenzior
parent 48570141ba
commit 0490c25fde
1 changed files with 1 additions and 1 deletions

View File

@ -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;