mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
staging: wfx: allow to join IBSS networks
Current code does not permit to join an already existing IBSS network. Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com> Link: https://lore.kernel.org/r/20200410133239.438347-15-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7b063f3bfb
commit
17c8cc79ef
@@ -484,7 +484,7 @@ static void wfx_do_join(struct wfx_vif *wvif)
|
||||
wvif->beacon_int = 1;
|
||||
|
||||
rcu_read_lock(); // protect ssidie
|
||||
if (!conf->ibss_joined)
|
||||
if (bss)
|
||||
ssidie = ieee80211_bss_get_ie(bss, WLAN_EID_SSID);
|
||||
if (ssidie) {
|
||||
ssidlen = ssidie[1];
|
||||
|
||||
Reference in New Issue
Block a user