From 09d01bce3f4fe4c485770e0b99ba2f353a78feaf Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Tue, 18 Oct 2016 11:37:30 +0900 Subject: [PATCH] Modify the 'or' operation statement Change-Id: I0d94c5197325d4fd03de088ada680f04b12414fd Signed-off-by: DoHyun Pyun --- hf-agent/bluetooth-hf-agent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hf-agent/bluetooth-hf-agent.c b/hf-agent/bluetooth-hf-agent.c index 124636c..dced911 100755 --- a/hf-agent/bluetooth-hf-agent.c +++ b/hf-agent/bluetooth-hf-agent.c @@ -2554,7 +2554,7 @@ static gboolean __bt_establish_service_level_conn(bt_hf_agent_info_t *bt_hf_info BT_HF_FEATURE_ENHANCED_CALL_STATUS; #ifdef TIZEN_WEARABLE - feature =| BT_HF_FEATURE_CODEC_NEGOTIATION; + feature = feature | BT_HF_FEATURE_CODEC_NEGOTIATION; #endif snprintf(cmd_buf, sizeof(cmd_buf), BT_HF_FEATURES, feature); @@ -3337,7 +3337,7 @@ static uint32_t __bt_hf_agent_get_hf_features(void) BT_HF_FEATURE_CODEC_NEGOTIATION; #ifdef TIZEN_WEARABLE - hf_features =| BT_HF_FEATURE_CODEC_NEGOTIATION; + hf_features = hf_features | BT_HF_FEATURE_CODEC_NEGOTIATION; #endif hf_ver = HFP_VERSION_1_6; -- 2.7.4