Vdev ref WLAN_OSIF_STATS_ID leaked in corner case, then vdev was failed to delete, assert happened. Change-Id: I20b102804d4c3e89be14d89d261996025750be93 CRs-Fixed: 3423850
@@ -2157,6 +2157,7 @@ wlan_hdd_set_station_stats_request_pending(struct hdd_adapter *adapter,
status = wlan_hdd_get_mlo_vdev_params(adapter, &info, req);
if (QDF_IS_STATUS_ERROR(status)) {
hdd_err("unable to get vdev params for mlo stats");
+ hdd_objmgr_put_vdev_by_user(vdev, WLAN_OSIF_STATS_ID);
return status;
}