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
This commit is contained in:
sheenam monga
2021-03-25 02:31:48 +05:30
committato da snandini
parent f8039b129e
commit 8c26a66b29

Vedi File

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