X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=blobdiff_plain;f=fapi_5g%2Fsource%2Fapi%2Ffapi2mac%2Fp5%2Fnr5g_fapi_proc_shutdown_resp.c;fp=fapi_5g%2Fsource%2Fapi%2Ffapi2mac%2Fp5%2Fnr5g_fapi_proc_shutdown_resp.c;h=f8996a7b2911f0e51dde720a731cb0ed0041b784;hp=4626cd9d34afe254d7a736a048fb944f88c3ccd4;hb=892daba4c616407f16506415d5a69549519ef11d;hpb=76b4495d593ccf45d712db1a3ec96fa9d2d8f5f5 diff --git a/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_shutdown_resp.c b/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_shutdown_resp.c index 4626cd9..f8996a7 100644 --- a/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_shutdown_resp.c +++ b/fapi_5g/source/api/fapi2mac/p5/nr5g_fapi_proc_shutdown_resp.c @@ -1,6 +1,6 @@ /****************************************************************************** * -* Copyright (c) 2019 Intel. +* Copyright (c) 2021 Intel. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,7 +22,6 @@ * **/ #include "nr5g_fapi_framework.h" -#include "gnb_l1_l2_api.h" #include "nr5g_fapi_fapi2mac_api.h" #include "nr5g_fapi_fapi2phy_api.h" #include "nr5g_fapi_fapi2mac_p5_proc.h" @@ -125,6 +124,7 @@ uint8_t nr5g_fapi_shutdown_response( p_stats->fapi_stats.fapi_stop_ind++; NR5G_FAPI_LOG(INFO_LOG, ("[STOP.Indication][%d]", phy_id)); p_phy_instance->shutdown_retries = 0; + nr5g_fapi_clean(p_phy_instance); #endif } else { /* PHY SHUTDOWN Failed. Retrigger Shutdown request for 3 tries before