qcacld-3.0: Fix cfg80211_get_bss calling when IEEE80211_PRIVACY defined

When IEEE80211_PRIVACY is defined, cfg80211_get_bss should be called with
IEEE80211_BSS_TYPE_ESS as ieee80211_bss_type and IEEE80211_PRIVACY_ANY as
ieee80211_privacy

Change-Id: I28154ab45a7143f485824d6884c630315d47d0c7
CRs-Fixed: 2063345
This commit is contained in:
bings 2017-06-20 09:27:00 +08:00 • committed by snandini
commit bdcd4a2f94

View file

@ -4325,7 +4325,7 @@ static bool hdd_is_interface_up(hdd_adapter_t *adapter)
}
#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 0)) \
&& !defined(WITH_BACKPORTS)
&& !defined(WITH_BACKPORTS) && !defined(IEEE80211_PRIVACY)
struct cfg80211_bss *hdd_cfg80211_get_bss(struct wiphy *wiphy,
struct ieee80211_channel *channel,
const u8 *bssid, const u8 *ssid,