Fix the return value unit for wifi max speed 07/73507/1 accepted/tizen/common/20160608.160933 accepted/tizen/ivi/20160609.090756 accepted/tizen/mobile/20160609.090621 accepted/tizen/tv/20160609.090735 accepted/tizen/wearable/20160609.090718 submit/tizen/20160608.101452
authorhyunuktak <hyunuk.tak@samsung.com>
Wed, 8 Jun 2016 09:50:51 +0000 (18:50 +0900)
committerhyunuktak <hyunuk.tak@samsung.com>
Wed, 8 Jun 2016 09:50:53 +0000 (18:50 +0900)
Change-Id: Ie9d8f24e5f3b12e1327d8890c5f0857c125d924c
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
packaging/capi-network-connection.spec
src/connection_profile.c

index d9f94f1..bf5fbb9 100755 (executable)
@@ -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
index b2e95c6..2bbecb2 100755 (executable)
@@ -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;
 }