Remove duplicated setting for vconfkey when device is GO 75/197675/2
authorYu <jiung.yu@samsung.com>
Tue, 15 Jan 2019 07:54:21 +0000 (16:54 +0900)
committerYu <jiung.yu@samsung.com>
Tue, 15 Jan 2019 08:06:40 +0000 (17:06 +0900)
Description : Those vconfkeys are also set by wfd_util_dhcps_start()
function. It seems duplicated. Some vconfkeys are used by several methods.
(ex: get_subnet_mask_handler, get_gateway_handler).

Change-Id: I8e36ca79a07698ea251a45860329e4c4b75e7271
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
files/wifi-direct-dhcp.sh.in
packaging/wifi-direct-manager.spec

index e2e2756..a9b76ea 100644 (file)
@@ -44,11 +44,6 @@ start_dhcp_server()
        if [ -z $subnet ]; then
                subnet="255.255.255.0"
        fi
-
-       @BIN_DIR@/vconftool set -t string memory/private/wifi_direct_manager/p2p_ifname ${interface} -f
-       @BIN_DIR@/vconftool set -t string memory/private/wifi_direct_manager/p2p_subnet_mask ${subnet} -f
-       @BIN_DIR@/vconftool set -t string memory/private/wifi_direct_manager/p2p_gateway ${route} -f
-       @BIN_DIR@/vconftool set -t string memory/private/wifi_direct_manager/p2p_local_ip ${DEFAULT_IP} -f
 }
 
 start_dhcp_client()
index 9a177b2..9afc06e 100644 (file)
@@ -6,7 +6,7 @@
 
 Name:          wifi-direct-manager
 Summary:       Wi-Fi Direct manger
-Version:       1.2.274
+Version:       1.2.275
 Release:       1
 Group:      Network & Connectivity/Wireless
 License:    Apache-2.0