qcacld-3.0: Correct the param mis-used issue
Correct the param mis-used issue when function wma_handle_vdev_detach invokes function wlan_mgmt_txrx_vdev_drain. Change-Id: Ied3118028d881c2c0d4300daa6b24515b2797781 CRs-Fixed: 3349006
This commit is contained in:

committed by
Madan Koyyalamudi

parent
f144674c98
commit
d5a46c0544
@@ -508,7 +508,7 @@ static QDF_STATUS wma_handle_vdev_detach(tp_wma_handle wma_handle,
|
||||
uint8_t vdev_id = del_vdev_req_param->vdev_id;
|
||||
struct wma_txrx_node *iface = &wma_handle->interfaces[vdev_id];
|
||||
void *soc = cds_get_context(QDF_MODULE_ID_SOC);
|
||||
int i;
|
||||
struct wmi_mgmt_params mgmt_params = {};
|
||||
|
||||
if (!soc) {
|
||||
status = QDF_STATUS_E_FAILURE;
|
||||
@@ -524,7 +524,8 @@ rel_ref:
|
||||
wma_cdp_vdev_detach(soc, wma_handle, vdev_id);
|
||||
if (qdf_is_recovering())
|
||||
wlan_mgmt_txrx_vdev_drain(iface->vdev,
|
||||
wma_mgmt_frame_fill_peer_cb, &i);
|
||||
wma_mgmt_frame_fill_peer_cb,
|
||||
&mgmt_params);
|
||||
wma_debug("Releasing wma reference for vdev:%d", vdev_id);
|
||||
wma_release_vdev_ref(iface);
|
||||
return status;
|
||||
|
Reference in New Issue
Block a user