commit | 4c9b82aaf6e130f633a544c216629de3d5ca493f | [log] [tgz] |
---|---|---|
author | Sourav Mohapatra <mohapatr@codeaurora.org> | Fri Oct 18 11:37:41 2019 +0530 |
committer | nshrivas <nshrivas@codeaurora.org> | Sat Oct 19 06:48:58 2019 -0700 |
tree | b2a43fc8ee3ef1144a6c7dde27de1db37a5742d9 | |
parent | 6421d36dd6ec65071aedbc8feb1e676f3d866f05 [diff] |
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