qcacld-3.0: Add vdev start check before sending arp_ns stats cmd to fw

Add vdev start check such that host does not send ARP_NS stats command
to FW when vdev is already stopped.

Change-Id: I94c0b4c26db3f48c7b2de1ad3003c0f0520fa396
CRs-Fixed: 2621587
This commit is contained in:
Alan Chen
2020-02-13 11:54:35 -08:00
committed by nshrivas
parent 4a63e6fdbb
commit a3de1a56ee
3 changed files with 31 additions and 0 deletions

View File

@@ -1798,6 +1798,16 @@ int wma_fill_beacon_interval_reset_req(tp_wma_handle wma, uint8_t vdev_id,
*/
bool wma_is_vdev_valid(uint32_t vdev_id);
/*
* wma_is_vdev_started() - check whether vdev is started or not
* @vdev: pointer to vdev object
*
* This function verifies the vdev is started nor not
*
* Return: 'true' if vdev is started else 'false'
*/
bool wma_is_vdev_started(struct wlan_objmgr_vdev *vdev);
/**
* wma_vdev_obss_detection_info_handler - event handler to handle obss detection
* @handle: the wma handle