summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/sap/src/sap_api_link_cntl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/sap/src/sap_api_link_cntl.c b/core/sap/src/sap_api_link_cntl.c
index 9a62d3413c55..6bf5679ff13b 100644
--- a/core/sap/src/sap_api_link_cntl.c
+++ b/core/sap/src/sap_api_link_cntl.c
@@ -106,10 +106,8 @@ QDF_STATUS wlansap_scan_callback(tHalHandle hal_handle,
tWLAN_SAPEvent sapEvent; /* State machine event */
uint8_t operChannel = 0;
QDF_STATUS sap_sm_status;
-
-#ifdef SOFTAP_CHANNEL_RANGE
uint32_t event;
-#endif
+
if (NULL == hal_handle) {
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_ERROR,