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:
Johannes Berg 2011-07-15 17:13:44 +03:00 committed by Jouni Malinen
parent 0d0db41271
commit 6cd930cb3c

View file

@ -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) {