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
This commit is contained in:
jiad 2018-12-07 11:57:26 +08:00 • committed by Nitesh Shrivastav
commit a6df1a3b7b

View file

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