diff options
author | Marc-André Lureau <marc-andre.lureau@nokia.com> | 2009-07-20 13:44:27 +0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-08-15 02:43:36 +0200 |
commit | 3ecb80e19ab9aa678b7db6a5068553d956d707fa (patch) | |
tree | fbc92de4bac98df8646c2d1ba8677ad685d932ae /src/modules | |
parent | fd32fee4488b1e06d0a64079485aa77f0c87164b (diff) |
bluetooth: fix typo with service_{read,write}_type
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/bluetooth/module-bluetooth-device.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index d9831854..5f119c7a 100644 --- a/src/modules/bluetooth/module-bluetooth-device.c +++ b/src/modules/bluetooth/module-bluetooth-device.c @@ -1739,7 +1739,8 @@ static void shutdown_bt(struct userdata *u) { if (u->service_fd >= 0) { pa_close(u->service_fd); u->service_fd = -1; - u->service_write_type = u->service_write_type = 0; + u->service_write_type = 0; + u->service_read_type = 0; } if (u->write_memchunk.memblock) { @@ -1755,7 +1756,8 @@ static int init_bt(struct userdata *u) { shutdown_bt(u); u->stream_write_type = 0; - u->service_write_type = u->service_write_type = 0; + u->service_write_type = 0; + u->service_read_type = 0; if ((u->service_fd = bt_audio_service_open()) < 0) { pa_log_error("Couldn't connect to bluetooth audio service"); |