From: hyunuktak Date: Wed, 8 Jun 2016 09:50:51 +0000 (+0900) Subject: Fix the return value unit for wifi max speed X-Git-Tag: accepted/tizen/common/20160608.160933 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Faccepted%2Ftizen%2Fcommon%2F20160608.160933;hp=8cdc2d6a52e887f4988ab30148d099102907c307;p=platform%2Fcore%2Fapi%2Fconnection.git Fix the return value unit for wifi max speed Change-Id: Ie9d8f24e5f3b12e1327d8890c5f0857c125d924c Signed-off-by: hyunuktak --- diff --git a/packaging/capi-network-connection.spec b/packaging/capi-network-connection.spec index d9f94f1..bf5fbb9 100755 --- a/packaging/capi-network-connection.spec +++ b/packaging/capi-network-connection.spec @@ -1,6 +1,6 @@ Name: capi-network-connection Summary: Network Connection library in TIZEN C API -Version: 1.0.89 +Version: 1.0.90 Release: 1 Group: System/Network License: Apache-2.0 diff --git a/src/connection_profile.c b/src/connection_profile.c index b2e95c6..2bbecb2 100755 --- a/src/connection_profile.c +++ b/src/connection_profile.c @@ -1157,7 +1157,7 @@ EXPORT_API int connection_profile_get_wifi_max_speed(connection_profile_h profil if (profile_info->profile_type != NET_DEVICE_WIFI) return CONNECTION_ERROR_INVALID_PARAMETER; - *max_speed = (int)profile_info->ProfileInfo.Wlan.max_rate; + *max_speed = (int)profile_info->ProfileInfo.Wlan.max_rate / 1000000; return CONNECTION_ERROR_NONE; }