#define IPSTR_LEN 16
#define WPS_PIN_LEN 8
-#define TIZEN_FEATURE_P2PS "tizen.org/feature/network.asp"
+#define TIZEN_FEATURE_ASP "tizen.org/feature/network.asp"
-#if 0
#define CHECK_FEATURE_SUPPORTED(feature_name)\
do {\
bool feature_supported = FALSE;\
if (!system_info_get_platform_bool(feature_name, &feature_supported)) {\
if (feature_supported == FALSE) {\
LOGE("%s feature is disabled", feature_name);\
- return P2PS_ERROR_NOT_SUPPORTED;\
+ return ASP_ERROR_NOT_SUPPORTED;\
} \
} else {\
LOGE("Error - Feature getting from System Info");\
- return P2PS_ERROR_OPERATION_FAILED;\
+ return ASP_ERROR_OPERATION_FAILED;\
} \
} while (0)
-#else
-#define CHECK_FEATURE_SUPPORTED(feature_name)
-#endif
-
#endif /** __ASP_UTIL_H__ */