qcacld-3.0: Fix compilation error in case NAN is disabled
Currently the function ucfg_nan_get_ndi_state is not defined for the case WLAN_FEATURE_NAN is not defined. As this is a public function defined in dispatcher/inc/ and can be used externally, there would be a compilation failure on such cases. Resolve the failure by declaring ucfg_nan_get_ndi_state as static in the case WLAN_FEATURE_NAN is not enabled. Change-Id: I30297e8a3781f9a529c40a1423a9d2613c286f4e CRs-Fixed: 2548223
此提交包含在:
@@ -373,5 +373,11 @@ static inline bool ucfg_is_nan_disc_active(struct wlan_objmgr_psoc *psoc)
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline
|
||||
enum nan_datapath_state ucfg_nan_get_ndi_state(struct wlan_objmgr_vdev *vdev)
|
||||
{
|
||||
return NAN_DATA_INVALID_STATE;
|
||||
}
|
||||
|
||||
#endif /* WLAN_FEATURE_NAN */
|
||||
#endif /* _NAN_UCFG_API_H_ */
|
||||
|
新增問題並參考
封鎖使用者