diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-04-18 10:59:49 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-04-18 11:52:23 +0200 |
commit | 962fac0c9f51464c97d742c10d753c44fc6a6318 (patch) | |
tree | 33db66a5365e8248285ff6ba4b3d7017b0c976af | |
parent | e0ed80f21da388359f8c7ca171d13b5bc5d2b41a (diff) |
wfdport: Handle WFD_PORT_RROTECTION_ENABLE attrib
Not supported.
-rw-r--r-- | src/wfdport.c | 7 |
1 files changed, 7 insertions, 0 deletions
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: |