Miss $ for variable and fix bug in event.c

Signed-off-by: superbert <liaoxin8@huawei.com>
This commit is contained in:
superbert 2023-11-02 11:09:59 +08:00
parent eeb5990be7
commit 5f00cd691c
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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" ]
}