summaryrefslogtreecommitdiffstats
path: root/audio/device.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-11 15:52:27 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-11 15:52:27 +0000
commit9494c146cec1df466c2f331957748beeac8d745a (patch)
treeee76a5688fc5a3576ac2f68331038a72988001ed /audio/device.c
parentc1761757dfeb3bf1802c5486d652d8f3852f939e (diff)
Remove redundant stream fd from config response
Diffstat (limited to 'audio/device.c')
-rw-r--r--audio/device.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/audio/device.c b/audio/device.c
index 1d39cb16..18e494c1 100644
--- a/audio/device.c
+++ b/audio/device.c
@@ -252,16 +252,16 @@ void device_finish_sdp_transaction(struct device *dev)
}
int device_get_config(struct device *dev, int sock, struct ipc_packet *req,
- int pkt_len, struct ipc_data_cfg **rsp)
+ int pkt_len, struct ipc_data_cfg **rsp, int *fd)
{
if (dev->sink && sink_is_active(dev))
- return sink_get_config(dev, sock, req, pkt_len, rsp);
+ return sink_get_config(dev, sock, req, pkt_len, rsp, fd);
else if (dev->headset && headset_is_active(dev))
- return headset_get_config(dev, sock, req, pkt_len, rsp);
+ return headset_get_config(dev, sock, req, pkt_len, rsp, fd);
else if (dev->sink)
- return sink_get_config(dev, sock, req, pkt_len, rsp);
+ return sink_get_config(dev, sock, req, pkt_len, rsp, fd);
else if (dev->headset)
- return headset_get_config(dev, sock, req, pkt_len, rsp);
+ return headset_get_config(dev, sock, req, pkt_len, rsp, fd);
return -EINVAL;
}