|
@@ -575,6 +575,10 @@ static QDF_STATUS wma_handle_vdev_detach(tp_wma_handle wma_handle,
|
|
|
status = wmi_unified_vdev_delete_send(wma_handle->wmi_handle, vdev_id);
|
|
|
if (QDF_IS_STATUS_ERROR(status)) {
|
|
|
WMA_LOGE("Unable to remove an interface");
|
|
|
+ cdp_vdev_detach(soc,
|
|
|
+ iface->handle, NULL, NULL);
|
|
|
+ iface->handle = NULL;
|
|
|
+ wma_handle->interfaces[vdev_id].is_vdev_valid = false;
|
|
|
goto out;
|
|
|
}
|
|
|
|