diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index f5c7813457..dab1c4b4a8 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -1,6 +1,6 @@ /* * 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 * 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; - vdev_stats = qdf_mem_malloc_atomic(sizeof(struct cdp_vdev_stats)); + vdev_stats = qdf_mem_malloc(sizeof(struct cdp_vdev_stats)); if (!vdev_stats) { dp_cdp_err("%pK: DP alloc failure - unable to get alloc vdev stats",