From 8692e087379874e4d878b8a694a4a3c6f58cfb4e Mon Sep 17 00:00:00 2001 From: Paul Sutton Date: Mon, 27 Apr 2020 20:30:29 +0100 Subject: [PATCH] Close rf device after use --- lib/src/phy/rf/rf_zmq_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/phy/rf/rf_zmq_test.c b/lib/src/phy/rf/rf_zmq_test.c index ce43d1283..46dbfcf7a 100644 --- a/lib/src/phy/rf/rf_zmq_test.c +++ b/lib/src/phy/rf/rf_zmq_test.c @@ -194,6 +194,8 @@ int param_test(const char* args_param, const int num_channels) return SRSLTE_ERROR; } + srslte_rf_close(&enb_radio); + return SRSLTE_SUCCESS; }