Sfoglia il codice sorgente

qcacmn: Add conditional compilation for util_is_noninh_ie

Currently util_is_noninh_ie is called based on WLAN_FEATURE_MBSSID,
but definition doesn't depend on WLAN_FEATURE_MBSSID which may
cause compilation issue.

Fix is to keep definition under WLAN_FEATURE_MBSSID feature flag

Change-Id: I409c367c98bf1fe06c1c3107348f4a469ebdbd07
CRs-Fixed: 2907601
sheenam monga 4 anni fa
parent
commit
8c26a66b29
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      umac/scan/dispatcher/src/wlan_scan_utils_api.c

+ 2 - 0
umac/scan/dispatcher/src/wlan_scan_utils_api.c

@@ -1751,6 +1751,7 @@ util_scan_gen_scan_entry(struct wlan_objmgr_pdev *pdev,
 	return status;
 }
 
+#ifdef WLAN_FEATURE_MBSSID
 /*
  * util_is_noninh_ie() - find the noninhertance information element
  * in the received frame's IE list, so that we can stop inheriting that IE
@@ -1776,6 +1777,7 @@ static bool util_is_noninh_ie(uint8_t elem_id,
 
 	return false;
 }
+#endif
 
 /*
  * util_scan_find_ie() - find information element