diff options
| author | Mahesh Kumar Kalikot Veetil <mkalikot@codeaurora.org> | 2016-09-09 17:05:22 -0700 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-09-15 21:04:40 -0700 |
| commit | 32e4fc75d1f77660c1e3d08bc358c4a8302bbace (patch) | |
| tree | 377a05297cf0b04a09edcdea1f40def17c067770 | |
| parent | b7b5843a3f3ea384f350f84e144f5884ce883b66 (diff) | |
qcacld-3.0: Cleanup IBSS feature
Fix compilation errors when turning off QCA_IBSS_SUPPORT
Change-Id: I3a493c710077bec0a8bc5521d0d433ccd62b4e74
CRs-Fixed: 1067029
| -rw-r--r-- | core/dp/txrx/ol_txrx.c | 2 | ||||
| -rw-r--r-- | core/wma/inc/wma_internal.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/core/dp/txrx/ol_txrx.c b/core/dp/txrx/ol_txrx.c index e4f6c5554100..c43ea2b82182 100644 --- a/core/dp/txrx/ol_txrx.c +++ b/core/dp/txrx/ol_txrx.c @@ -2388,6 +2388,7 @@ ol_txrx_is_rx_fwd_disabled(ol_txrx_vdev_handle vdev) return cfg->rx_fwd_disabled; } +#ifdef QCA_IBSS_SUPPORT /** * ol_txrx_update_ibss_add_peer_num_of_vdev() - update and return peer num * @vdev: vdev handle @@ -2427,6 +2428,7 @@ uint16_t ol_txrx_set_ibss_vdev_heart_beat_timer(ol_txrx_vdev_handle vdev, return old_timer_value; } +#endif /** * ol_txrx_remove_peers_for_vdev() - remove all vdev peers with lock held diff --git a/core/wma/inc/wma_internal.h b/core/wma/inc/wma_internal.h index 11b6d1d40cdd..b5fc9f4eae48 100644 --- a/core/wma/inc/wma_internal.h +++ b/core/wma/inc/wma_internal.h @@ -493,7 +493,7 @@ bool wma_is_vdev_in_ibss_mode(tp_wma_handle wma, uint8_t vdev_id); * Return false since no vdev can be in ibss mode without ibss support */ static inline -bool wma_is_vdev_in_ibss_mode(tp_wma_handle wma, uint8_t vdev_id); +bool wma_is_vdev_in_ibss_mode(tp_wma_handle wma, uint8_t vdev_id) { return false; } |
