|
@@ -1,6 +1,6 @@
|
|
/*
|
|
/*
|
|
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
|
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
|
- * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
|
|
|
+ * Copyright (c) 2021,2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -8478,7 +8478,7 @@ static QDF_STATUS dp_vdev_getstats(struct cdp_vdev *vdev_handle,
|
|
|
|
|
|
soc = pdev->soc;
|
|
soc = pdev->soc;
|
|
|
|
|
|
- vdev_stats = qdf_mem_malloc_atomic(sizeof(struct cdp_vdev_stats));
|
|
|
|
|
|
+ vdev_stats = qdf_mem_malloc(sizeof(struct cdp_vdev_stats));
|
|
|
|
|
|
if (!vdev_stats) {
|
|
if (!vdev_stats) {
|
|
dp_cdp_err("%pK: DP alloc failure - unable to get alloc vdev stats",
|
|
dp_cdp_err("%pK: DP alloc failure - unable to get alloc vdev stats",
|