mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-03 19:02:34 +01:00
scan: Fix bit checking for interworking
The checker function will later be changed to match the bit setter.
This commit is contained in:
parent
48570141ba
commit
0490c25fde
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user