qcacld-3.0: Cleanup IBSS feature

Fix compilation errors when turning off QCA_IBSS_SUPPORT

Change-Id: I3a493c710077bec0a8bc5521d0d433ccd62b4e74
CRs-Fixed: 1067029
This commit is contained in:
Mahesh Kumar Kalikot Veetil
2016-09-09 17:05:22 -07:00
committed by qcabuildsw
parent b7b5843a3f
commit 32e4fc75d1
2 changed files with 3 additions and 1 deletions

View File

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

View File

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