From a6df1a3b7bb53c60e53a0b450c4b7c156d8fbf40 Mon Sep 17 00:00:00 2001 From: jiad Date: Fri, 7 Dec 2018 11:57:26 +0800 Subject: [PATCH] qcacld-3.0: Define status variable to fix build failure status variable is not defined but it is being used which creates build failures when FEATURE_AP_MCC_CH_AVOIDANCE is defined, thus define the variable .. Change-Id: Icd4b3616832c09577c19e7e65f7ce30134b4fd59 CRs-Fixed: 2362845 --- core/hdd/src/wlan_hdd_hostapd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index eddb638c5b3a..b85d9361490c 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -4603,6 +4603,7 @@ hdd_set_vdev_crypto_prarams_from_ie(struct wlan_objmgr_vdev *vdev, static void wlan_hdd_set_sap_mcc_chnl_avoid(struct hdd_context *hdd_ctx) { uint8_t sap_mcc_avoid = 0; + QDF_STATUS status; status = ucfg_mlme_get_sap_mcc_chnl_avoid(hdd_ctx->psoc, &sap_mcc_avoid);