Fix svace issue 74/318074/1 accepted/tizen_unified accepted/tizen_unified_x accepted/tizen_unified_x_asan tizen accepted/tizen/unified/20241004.041920 accepted/tizen/unified/x/20241006.082048 accepted/tizen/unified/x/asan/20241014.000356
authorSeonah Moon <seonah1.moon@samsung.com>
Tue, 24 Sep 2024 08:46:42 +0000 (17:46 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Tue, 24 Sep 2024 08:46:42 +0000 (17:46 +0900)
Change-Id: Iabe035cb300e1eed33ce6c4336eb725b942c3fcd

packaging/mobileap-agent.spec
src/mobileap_softap.c

index 835fbb7..8c57333 100644 (file)
@@ -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
index e49c986..7fa1e86 100755 (executable)
@@ -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;