P2P: Fix p2p_intra_bss with nl80211
The current implementation of p2p_intra_bss doesn't work since the flag isn't propagated into the corresponding hostapd config, so AP code will never enable AP isolation and will in fact disable it again after it had been enabled by the P2P code. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
0d0db41271
commit
6cd930cb3c
1 changed files with 2 additions and 0 deletions
|
@ -134,6 +134,8 @@ static int wpa_supplicant_conf_ap(struct wpa_supplicant *wpa_s,
|
|||
}
|
||||
conf->supported_rates = list;
|
||||
}
|
||||
|
||||
bss->isolate = !wpa_s->conf->p2p_intra_bss;
|
||||
#endif /* CONFIG_P2P */
|
||||
|
||||
if (ssid->ssid_len == 0) {
|
||||
|
|
Loading…
Reference in a new issue