Browse Source

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
jiad 6 years ago
parent
commit
a6df1a3b7b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/hdd/src/wlan_hdd_hostapd.c

+ 1 - 0
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);