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