Modify the 'or' operation statement
[platform/core/connectivity/bluetooth-agent.git] / hf-agent / bluetooth-hf-agent.c
index 124636c..dced911 100755 (executable)
@@ -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;