Add build configuration for common profile 61/67561/2 accepted/tizen/common/20160429.170500 accepted/tizen/ivi/20160429.074242 accepted/tizen/mobile/20160429.074156 accepted/tizen/tv/20160429.074208 accepted/tizen/wearable/20160429.074223 submit/tizen/20160429.020129
authorYu Jiung <jiung.yu@samsung.com>
Wed, 27 Apr 2016 08:24:02 +0000 (17:24 +0900)
committerYu Jiung <jiung.yu@samsung.com>
Wed, 27 Apr 2016 08:25:25 +0000 (17:25 +0900)
Change-Id: Iaac3aa415f1839a1419a3c5796b7381b8673a9c3
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
packaging/capi-network-wifi-direct.spec
test/test-wifi-direct.c

index aac5d4f..1fa8513 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-network-wifi-direct
 Summary:    Network WiFi-Direct Library
-Version:    1.2.59
+Version:    1.2.60
 Release:    1
 Group:      Network & Connectivity/API
 License:    Apache-2.0
@@ -57,6 +57,10 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 
 
 cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%if "%{profile}" == "common"
+       -DTIZEN_FEATURE_SERVICE_DISCOVERY=0 \
+       -DTIZEN_FEATURE_WIFI_DISPLAY=0 \
+%else
 %if "%{profile}" == "wearable"
        -DTIZEN_FEATURE_SERVICE_DISCOVERY=0 \
        -DTIZEN_FEATURE_WIFI_DISPLAY=0 \
@@ -72,6 +76,7 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
 %endif
 %endif
 %endif
+%endif
        . -DVERSION=%{version} -DMAJORVERSION=${MAJORVER} -DCMAKE_LIB_DIR=%{_libdir}
 make %{?jobs:-j%jobs}
 %install
index 9d43801..a470039 100755 (executable)
@@ -1913,15 +1913,6 @@ void process_input(const char *input, gpointer user_data)
                }
        }
        break;
-
-       case CMD_INCREASE_OEM_LOGLEVEL:
-               wifi_direct_set_p2poem_loglevel(1);
-               break;
-
-       case CMD_DECREASE_OEM_LOGLEVEL:
-               wifi_direct_set_p2poem_loglevel(0);
-               break;
-
        case CMD_REGISTER_SERVICE:
                if (ad != NULL) {
                        wifi_direct_service_type_e service_type = WIFI_DIRECT_SERVICE_TYPE_ALL;