mirror of
https://gitee.com/openharmony/third_party_wpa_supplicant
synced 2024-11-23 15:50:36 +00:00
Miss $ for variable and fix bug in event.c
Signed-off-by: superbert <liaoxin8@huawei.com>
This commit is contained in:
parent
eeb5990be7
commit
5f00cd691c
@ -1364,14 +1364,14 @@ static bool wpa_scan_res_ok(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
|
||||
#endif /* !CONFIG_IBSS_RSN */
|
||||
|
||||
#ifdef CONFIG_P2P
|
||||
#ifdef CONFIG_VENDOR_EXT
|
||||
if (ssid->p2p_group && !wpa_vendor_ext_is_p2p_enhance_mode(wpa_s) &&
|
||||
#else
|
||||
#ifdef CONFIG_MAGICLINK_PC
|
||||
if (bss->legacyGO) {
|
||||
wpa_dbg(wpa_s, MSG_DEBUG, " legacyGO doesn't compare p2p ie");
|
||||
} else {
|
||||
#endif /* CONFIG_MAGICLINK_PC */
|
||||
#ifdef CONFIG_VENDOR_EXT
|
||||
if (ssid->p2p_group && !wpa_vendor_ext_is_p2p_enhance_mode(wpa_s) &&
|
||||
#else
|
||||
if (ssid->p2p_group &&
|
||||
#endif
|
||||
!wpa_bss_get_vendor_ie(bss, P2P_IE_VENDOR_TYPE) &&
|
||||
|
@ -16,7 +16,7 @@ import("//third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa.gni")
|
||||
ext_cflags = []
|
||||
|
||||
if (wpa_supplicant_vendor_ext && wpa_vendor_gni != "") {
|
||||
import("{wpa_vendor_gni}")
|
||||
import("${wpa_vendor_gni}")
|
||||
|
||||
ext_cflags += [ "-DCONFIG_VENDOR_EXT" ]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user