[wfd-plugin: Fixed Typo in Macro 14/60014/1
authorManeesh Jain <maneesh.jain@samsung.com>
Mon, 22 Feb 2016 09:12:18 +0000 (14:42 +0530)
committerManeesh Jain <maneesh.jain@samsung.com>
Mon, 22 Feb 2016 09:12:18 +0000 (14:42 +0530)
Change-Id: I0e9a0c0759b5cce9888aaef67350b8963f81332a
Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
plugin/wpasupplicant/ctrl_iface_sock/include/wfd-plugin-wpasupplicant.h
plugin/wpasupplicant/ctrl_iface_sock/wfd-plugin-wpasupplicant.c

index ab01996..cdfcfa1 100755 (executable)
 #ifdef TIZEN_FEATURE_WIFI_DISPLAY
 #define WS_WFD_INFO_PRIMARY_SINK 0x01
 #define WS_WFD_INFO_SECONDARY_SINK 0x02
-#define WS_WFD_INFO_AVAILABLITY 0x10
+#define WS_WFD_INFO_AVAILABILITY 0x10
 #define WS_WFD_INFO_WSD_SUPPORT 0x40
 #define WS_WFD_INFO_TDLS_SUPPORT 0x80
 #define WS_WFD_INFO_HDCP_SUPPORT 0x100
index 0de9878..6c75fed 100755 (executable)
@@ -1180,7 +1180,7 @@ static int _parsing_wfd_info(char *msg, wfd_oem_display_s *display )
        if (wfd_info & WS_WFD_INFO_SECONDARY_SINK)
                display->type |= WS_WFD_INFO_SECONDARY_SINK;
 
-       display->availability = (wfd_info & WS_WFD_INFO_AVAILABLITY) >> 4;
+       display->availability = (wfd_info & WS_WFD_INFO_AVAILABILITY) >> 4;
        display->hdcp_support = (wfd_info & WS_WFD_INFO_HDCP_SUPPORT) >> 8;
 
        strncpy(ctrl_port_msg, msg+4, 4);
@@ -1208,6 +1208,7 @@ static int _parsing_peer_info(char *msg, wfd_oem_device_s *peer)
 
        if (!msg || !peer) {
                WDP_LOGE("Invalid parameter");
+               __WDP_LOG_FUNC_EXIT__;
                return -1;
        }
 
@@ -1224,6 +1225,7 @@ static int _parsing_peer_info(char *msg, wfd_oem_device_s *peer)
        }
        if (info_cnt == 0) {
                WDP_LOGD("Device info ids have no valid information");
+               __WDP_LOG_FUNC_EXIT__;
                return -1;
        }