From 68ac991dbaa05ab91459419400b21b93f02d0e76 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Sun, 23 Nov 2014 17:47:58 +0100 Subject: [PATCH] Publish config key capabilities on session driver. --- src/session_driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/session_driver.c b/src/session_driver.c index 511adac5..62b16986 100644 --- a/src/session_driver.c +++ b/src/session_driver.c @@ -50,9 +50,9 @@ struct session_vdev { }; static const uint32_t devopts[] = { - SR_CONF_CAPTUREFILE, - SR_CONF_CAPTURE_UNITSIZE, - SR_CONF_SAMPLERATE, + SR_CONF_CAPTUREFILE | SR_CONF_SET, + SR_CONF_CAPTURE_UNITSIZE | SR_CONF_GET | SR_CONF_SET, + SR_CONF_SAMPLERATE | SR_CONF_GET | SR_CONF_SET, }; static int receive_data(int fd, int revents, void *cb_data)