qcacld-3.0: Fix compilation issue for ROAM_OFFLOAD feature
Fix compilation issue when ROAM_OFFLOAD is not enabled. There are
issues with ROAM_OFFLOAD feature conditional compilation.
Change-Id: I068245885ab9f054b4c03307a9ecc0066bc88ebe
CRs-fixed: 784982
diff --git a/core/hdd/src/wlan_hdd_cfg80211.h b/core/hdd/src/wlan_hdd_cfg80211.h
index f8cdd90..23e604a 100644
--- a/core/hdd/src/wlan_hdd_cfg80211.h
+++ b/core/hdd/src/wlan_hdd_cfg80211.h
@@ -2253,9 +2253,17 @@
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
int wlan_hdd_send_roam_auth_event(hdd_context_t *hdd_ctx_ptr, uint8_t *bssid,
- uint8_t *req_rsn_ie, uint32_t req_rsn_length,
- uint8_t *rsp_rsn_ie, uint32_t rsp_rsn_length,
- tCsrRoamInfo *roam_info_ptr);
+ uint8_t *req_rsn_ie, uint32_t req_rsn_length, uint8_t
+ *rsp_rsn_ie, uint32_t rsp_rsn_length, tCsrRoamInfo
+ *roam_info_ptr);
+#else
+static inline int wlan_hdd_send_roam_auth_event(hdd_context_t *hdd_ctx_ptr,
+ uint8_t *bssid, uint8_t *req_rsn_ie, uint32_t req_rsn_length,
+ uint8_t *rsp_rsn_ie, uint32_t rsp_rsn_length, tCsrRoamInfo
+ *roam_info_ptr)
+{
+ return 0;
+}
#endif
int wlan_hdd_cfg80211_update_apies(hdd_adapter_t *adapter);