qcacld-3.0: Change check for wma_is_vdev_started() to WLAN_VDEV_S_UP
When running WHUNT test case for SET NUD STATS vendor command, wma_set_arp_req_stats is supposed to be sent to FW but it fails to send due to the check in wma_is_vdev_started(), which is currently checking if the vdev state is WLAN_VDEV_S_START, instead of WLAN_VDEV_S_UP, thus allowing vdev state WLAN_VDEV_S_UP to still continue when it is not started. Hence, change the check to WLAN_VDEV_S_UP to provide proper check. Change-Id: Ifae00ff26a27df92cd4d09047c326bcccfdbf602 CRs-Fixed: 2651406
此提交包含在:
@@ -1809,16 +1809,6 @@ 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
|
||||
|
新增問題並參考
封鎖使用者