mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 02:59:19 -04:00
staging: wfx: allow to connect an IBSS with an existing SSID
With current code, chip is not able to join an existing IBSS network. Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/20200406111756.154086-10-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
9671f1338b
commit
32f5d47cbf
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user