summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/mobileap-agent.spec2
-rwxr-xr-xsrc/mobileap_softap.c5
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;