Modify the 'or' operation statement 61/92661/1 accepted/tizen/3.0/ivi/20161028.134106 accepted/tizen/3.0/mobile/20161028.133221 accepted/tizen/3.0/wearable/20161028.133559 accepted/tizen/common/20161018.175036 accepted/tizen/ivi/20161018.091339 accepted/tizen/mobile/20161018.091331 accepted/tizen/wearable/20161018.091335 submit/tizen/20161018.013720 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082423 submit/tizen_3.0_common/20161104.104000
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 18 Oct 2016 02:37:30 +0000 (11:37 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 18 Oct 2016 02:37:30 +0000 (11:37 +0900)
Change-Id: I0d94c5197325d4fd03de088ada680f04b12414fd
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
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;