Check tethering feature when tethering_wifi_remove_blocked_mac_list is called 53/75153/2 accepted/tizen/common/20160617.121924 accepted/tizen/ivi/20160620.024309 accepted/tizen/mobile/20160620.024144 accepted/tizen/tv/20160620.024216 accepted/tizen/wearable/20160620.024241 submit/tizen/20160617.081742
authorSeonah Moon <seonah1.moon@samsung.com>
Fri, 17 Jun 2016 01:46:18 +0000 (10:46 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Fri, 17 Jun 2016 01:47:30 +0000 (10:47 +0900)
Change-Id: Ib10657c8de46354a34cc20cb7a6a31f9ed40f1b3
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
packaging/capi-network-tethering.spec
src/tethering.c

index dca3201..82c09d3 100644 (file)
@@ -1,6 +1,6 @@
 Name:          capi-network-tethering
 Summary:       Tethering Framework
-Version:       1.0.38
+Version:       1.0.39
 Release:       1
 Group:         System/Network
 License:       Apache-2.0
index 93f1f58..627c970 100755 (executable)
@@ -3182,6 +3182,7 @@ API int tethering_wifi_add_blocked_mac_list(tethering_h tethering, const char *m
 
 API int tethering_wifi_remove_blocked_mac_list(tethering_h tethering, const char *mac)
 {
+       CHECK_FEATURE_SUPPORTED(TETHERING_FEATURE, TETHERING_WIFI_FEATURE);
        _retvm_if(tethering == NULL, TETHERING_ERROR_INVALID_PARAMETER,
                        "parameter(tethering) is NULL\n");
        _retvm_if(mac == NULL, TETHERING_ERROR_INVALID_PARAMETER,