From: Tim Kourt <tim.a.kourt@linux.intel.com>
To: iwd@lists.01.org
Subject: [PATCH 2/4] scan: Fix bit checking for interworking
Date: Fri, 08 Nov 2019 17:04:00 -0500 [thread overview]
Message-ID: <20191108220402.10282-2-tim.a.kourt@linux.intel.com> (raw)
In-Reply-To: <20191108220402.10282-1-tim.a.kourt@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 606 bytes --]
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;
--
2.21.0
next prev parent reply other threads:[~2019-11-08 22:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-08 22:03 [PATCH 1/4] scan: Improve comment Tim Kourt
2019-11-08 22:04 ` Tim Kourt [this message]
2019-11-08 22:04 ` [PATCH 3/4] scan: Separate IE attr creation into logical block Tim Kourt
2019-11-08 22:04 ` [PATCH 4/4] scan: Separate cck rates " Tim Kourt
2019-11-09 2:06 ` Marcel Holtmann
2019-11-09 2:40 ` Denis Kenzior
2019-11-09 3:21 ` Marcel Holtmann
2019-11-09 3:33 ` Denis Kenzior
2019-11-09 3:42 ` Marcel Holtmann
2019-11-09 3:46 ` Denis Kenzior
2019-11-09 3:08 ` Denis Kenzior
2019-11-09 3:06 ` [PATCH 1/4] scan: Improve comment Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191108220402.10282-2-tim.a.kourt@linux.intel.com \
--to=tim.a.kourt@linux.intel.com \
--cc=iwd@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.