summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaesub.kim <taesub.kim@samsung.com>2013-11-29 13:59:54 +0900
committertaesub.kim <taesub.kim@samsung.com>2013-11-29 14:00:15 +0900
commit457171c78ee761c1d0e446107267b0d763e5f881 (patch)
tree4c565fece38c12e27995211fd0a280a1fa74f297
parent7465c3af0d98efa280977797aa939f27d36b12b8 (diff)
downloadwifi-457171c78ee761c1d0e446107267b0d763e5f881.tar.gz
wifi-457171c78ee761c1d0e446107267b0d763e5f881.tar.bz2
wifi-457171c78ee761c1d0e446107267b0d763e5f881.zip
Avoid resetting IP, subnet mask and gateway to 0 in case of static type
Change-Id: I3d6275aec538a72b9ca30b1ea64c4e8017fa7f64 Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
-rw-r--r--debian/changelog8
-rw-r--r--packaging/capi-network-wifi.spec2
-rw-r--r--[-rwxr-xr-x]src/net_wifi_ap.c3
3 files changed, 9 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index a03ab63..8beeaa8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+capi-network-wifi (0.1.2-21) unstable; urgency=low
+
+ * Avoid resetting IP, subnet mask and gateway to 0 in case of static type
+ * Git: framework/api/wifi
+ * Tag: capi-network-wifi_0.1.2-21
+
+ -- Taesub Kim <taesub.kim@samsung.com> Fri, 29 Nov 2013 13:52:46 +0900
+
capi-network-wifi (0.1.2-20) unstable; urgency=low
* Set CFLAGS fvisibility hidden
diff --git a/packaging/capi-network-wifi.spec b/packaging/capi-network-wifi.spec
index 894568a..4ac886c 100644
--- a/packaging/capi-network-wifi.spec
+++ b/packaging/capi-network-wifi.spec
@@ -1,6 +1,6 @@
Name: capi-network-wifi
Summary: Network Wi-Fi library in TIZEN C API
-Version: 0.1.2_20
+Version: 0.1.2_21
Release: 1
Group: System/Network
License: Apache-2.0
diff --git a/src/net_wifi_ap.c b/src/net_wifi_ap.c
index 85b6871..8a3153d 100755..100644
--- a/src/net_wifi_ap.c
+++ b/src/net_wifi_ap.c
@@ -301,9 +301,6 @@ EXPORT_API int wifi_ap_set_ip_config_type(wifi_ap_h ap, wifi_address_family_e ad
switch (type) {
case WIFI_IP_CONFIG_TYPE_STATIC:
profile_info->ProfileInfo.Wlan.net_info.IpConfigType = NET_IP_CONFIG_TYPE_STATIC;
- profile_info->ProfileInfo.Wlan.net_info.IpAddr.Data.Ipv4.s_addr = 0;
- profile_info->ProfileInfo.Wlan.net_info.SubnetMask.Data.Ipv4.s_addr = 0;
- profile_info->ProfileInfo.Wlan.net_info.GatewayAddr.Data.Ipv4.s_addr = 0;
break;
case WIFI_IP_CONFIG_TYPE_DYNAMIC:
profile_info->ProfileInfo.Wlan.net_info.IpConfigType = NET_IP_CONFIG_TYPE_DYNAMIC;