From: Jerome Pouiller <Jerome.Pouiller@silabs.com>
To: devel@driverdev.osuosl.org, linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Kalle Valo" <kvalo@codeaurora.org>,
"David S . Miller" <davem@davemloft.net>,
"Jérôme Pouiller" <jerome.pouiller@silabs.com>
Subject: [PATCH 09/11] staging: wfx: allow to connect an IBSS with an existing SSID
Date: Mon, 6 Apr 2020 13:17:54 +0200 [thread overview]
Message-ID: <20200406111756.154086-10-Jerome.Pouiller@silabs.com> (raw)
In-Reply-To: <20200406111756.154086-1-Jerome.Pouiller@silabs.com>
From: Jérôme Pouiller <jerome.pouiller@silabs.com>
With current code, chip is not able to join an existing IBSS network.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
---
drivers/staging/wfx/hif_tx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/wfx/hif_tx.c b/drivers/staging/wfx/hif_tx.c
index 445906035e9d..d44e5cacbbce 100644
--- a/drivers/staging/wfx/hif_tx.c
+++ b/drivers/staging/wfx/hif_tx.c
@@ -310,7 +310,7 @@ int hif_join(struct wfx_vif *wvif, const struct ieee80211_bss_conf *conf,
body->basic_rate_set =
cpu_to_le32(wfx_rate_mask_to_hw(wvif->wdev, conf->basic_rates));
memcpy(body->bssid, conf->bssid, sizeof(body->bssid));
- if (!conf->ibss_joined && ssid) {
+ if (ssid) {
body->ssid_length = cpu_to_le32(ssidlen);
memcpy(body->ssid, ssid, ssidlen);
}
--
2.25.1
next prev parent reply other threads:[~2020-04-06 11:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-06 11:17 [PATCH 00/11] staging: wfx: clean up HIF API Jerome Pouiller
2020-04-06 11:17 ` [PATCH 01/11] staging: wfx: drop unused WFX_LINK_ID_GC_TIMEOUT Jerome Pouiller
2020-04-06 11:17 ` [PATCH 02/11] staging: wfx: relocate LINK_ID_NO_ASSOC and MAX_STA_IN_AP_MODE to hif API Jerome Pouiller
2020-04-06 11:17 ` [PATCH 03/11] staging: wfx: relocate TX_RETRY_POLICY_MAX and TX_RETRY_POLICY_INVALID " Jerome Pouiller
2020-04-06 11:17 ` [PATCH 04/11] staging: wfx: remove unused definitions from the " Jerome Pouiller
2020-04-06 11:17 ` [PATCH 05/11] staging: wfx: remove useless defines Jerome Pouiller
2020-04-06 11:17 ` [PATCH 06/11] staging: wfx: fix endianness of hif API Jerome Pouiller
2020-04-06 11:17 ` [PATCH 07/11] staging: wfx: align members declarations in " Jerome Pouiller
2020-04-06 11:17 ` [PATCH 08/11] staging: wfx: place hif_tx_mib functions into a .c file Jerome Pouiller
2020-04-06 11:17 ` Jerome Pouiller [this message]
2020-04-06 11:17 ` [PATCH 10/11] staging: wfx: make hif_ie_table_entry const Jerome Pouiller
2020-04-06 11:17 ` [PATCH 11/11] staging: wfx: send just necessary bytes Jerome Pouiller
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=20200406111756.154086-10-Jerome.Pouiller@silabs.com \
--to=jerome.pouiller@silabs.com \
--cc=davem@davemloft.net \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=kvalo@codeaurora.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).