From 962fac0c9f51464c97d742c10d753c44fc6a6318 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Mon, 18 Apr 2011 10:59:49 +0200 Subject: wfdport: Handle WFD_PORT_RROTECTION_ENABLE attrib Not supported. --- src/wfdport.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/wfdport.c b/src/wfdport.c index ab0f70e..9222d27 100644 --- a/src/wfdport.c +++ b/src/wfdport.c @@ -281,6 +281,8 @@ wfd_port_get_attribi(struct wfd_device *device, return 0; case WFD_PORT_PIPELINE_ID_COUNT: return wfd_port_choose_pipeline(device, port) != 0 ? 1 : 0; + case WFD_PORT_PROTECTION_ENABLE: + return WFD_FALSE; default: break; } @@ -379,6 +381,11 @@ wfd_port_set_attribi(struct wfd_device *device, } port->power_mode = value; break; + case WFD_PORT_PROTECTION_ENABLE: + if (value == WFD_TRUE) + wfd_device_set_error(device, + WFD_ERROR_ILLEGAL_ARGUMENT); + break; /* ignored by WFD_PORT_MODE_{FLIP_MIRROR,ROTATION}_SUPPORT */ case WFD_PORT_FLIP: case WFD_PORT_MIRROR: -- cgit v1.2.3