From 9c61eebe0e67d08b4dccc164210cc2dbc35ef248 Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Tue, 24 Sep 2024 17:46:42 +0900 Subject: [PATCH] Fix svace issue Change-Id: Iabe035cb300e1eed33ce6c4336eb725b942c3fcd --- packaging/mobileap-agent.spec | 2 +- src/mobileap_softap.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/packaging/mobileap-agent.spec b/packaging/mobileap-agent.spec index 835fbb7..8c57333 100644 --- a/packaging/mobileap-agent.spec +++ b/packaging/mobileap-agent.spec @@ -1,6 +1,6 @@ Name: mobileap-agent Summary: Mobile AP daemon for setting tethering environments -Version: 1.1.5 +Version: 1.1.6 Release: 1 Group: System/Network License: Apache-2.0 diff --git a/src/mobileap_softap.c b/src/mobileap_softap.c index e49c986..7fa1e86 100755 --- a/src/mobileap_softap.c +++ b/src/mobileap_softap.c @@ -1169,10 +1169,7 @@ int _mh_core_disable_softap(char *if_name) if (ret_status != MOBILE_AP_ERROR_NONE) ERR("hostapd termination is failed\n"); //LCOV_EXCL_LINE - ret_status = __close_hostapd_monitor(&hostapd_monitor_fd[wifi_band]); - if (ret_status != MOBILE_AP_ERROR_NONE) - ERR("hostapd termination is failed\n"); //LCOV_EXCL_LINE - + __close_hostapd_monitor(&hostapd_monitor_fd[wifi_band]); __terminate_hostapd(); break; -- 2.7.4