diff options
author | Mikel Astiz <mikel.astiz@bmw-carit.de> | 2012-08-16 13:08:28 +0200 |
---|---|---|
committer | Jaska Uimonen <jaska.uimonen@intel.com> | 2013-01-24 09:29:35 +0200 |
commit | fcfab72c3d003cc210f55ebb4f64221b7a5375a8 (patch) | |
tree | 97aa9b3592aa4b918f44726cafea66428657c3d2 | |
parent | 7b3310fb9bfc5d4d4f3efa9e8d48818a7c599237 (diff) | |
download | pulseaudio-panda-fcfab72c3d003cc210f55ebb4f64221b7a5375a8.tar.gz pulseaudio-panda-fcfab72c3d003cc210f55ebb4f64221b7a5375a8.tar.bz2 pulseaudio-panda-fcfab72c3d003cc210f55ebb4f64221b7a5375a8.zip |
bluetooth: Minor style fix
Else clause should be in the same line as the closing brace.
-rw-r--r-- | src/modules/bluetooth/module-bluetooth-device.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index 3f5a2aef..86cd40ce 100644 --- a/src/modules/bluetooth/module-bluetooth-device.c +++ b/src/modules/bluetooth/module-bluetooth-device.c @@ -1971,12 +1971,10 @@ static int card_set_profile(pa_card *c, pa_card_profile *new_profile) { if (device->headset_state < PA_BT_AUDIO_STATE_CONNECTED && *d == PROFILE_HSP) { pa_log_warn("HSP is not connected, refused to switch profile"); return -PA_ERR_IO; - } - else if (device->audio_sink_state < PA_BT_AUDIO_STATE_CONNECTED && *d == PROFILE_A2DP) { + } else if (device->audio_sink_state < PA_BT_AUDIO_STATE_CONNECTED && *d == PROFILE_A2DP) { pa_log_warn("A2DP is not connected, refused to switch profile"); return -PA_ERR_IO; - } - else if (device->hfgw_state < PA_BT_AUDIO_STATE_CONNECTED && *d == PROFILE_HFGW) { + } else if (device->hfgw_state < PA_BT_AUDIO_STATE_CONNECTED && *d == PROFILE_HFGW) { pa_log_warn("HandsfreeGateway is not connected, refused to switch profile"); return -PA_ERR_IO; } |