From: Diego Escalante Urrelo Date: Sun, 2 Aug 2020 19:54:56 -0500 Subject: wl: Use the right enums for cfg80211_get_bss --- amd64/src/wl/sys/wl_cfg80211_hybrid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/amd64/src/wl/sys/wl_cfg80211_hybrid.c b/amd64/src/wl/sys/wl_cfg80211_hybrid.c index 1801f70..c4b1154 100644 --- a/amd64/src/wl/sys/wl_cfg80211_hybrid.c +++ b/amd64/src/wl/sys/wl_cfg80211_hybrid.c @@ -2304,7 +2304,8 @@ static s32 wl_update_bss_info(struct wl_cfg80211_priv *wl) ssid = &wl->profile->ssid; bss = cfg80211_get_bss(wl_to_wiphy(wl), NULL, (s8 *)&wl->bssid, - ssid->SSID, ssid->SSID_len, WLAN_CAPABILITY_ESS, WLAN_CAPABILITY_ESS); + ssid->SSID, ssid->SSID_len, + IEEE80211_BSS_TYPE_ESS, IEEE80211_PRIVACY_ANY); rtnl_lock(); if (!bss) {