Fix SVACE issues in Tizen New BT Architecture
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / common / oal-common.c
index 993f348..edf77ca 100755 (executable)
@@ -225,7 +225,7 @@ int check_duplicate_uuid(oal_uuid_t *table, oal_uuid_t toMatch, int table_len)
 
 const char* status2string(bt_status_t status)
 {
-       if (status >= BT_STATUS_SUCCESS && status <= BT_STATUS_RMT_DEV_DOWN)
+       if (status <= BT_STATUS_RMT_DEV_DOWN)
                return status_str[status];
        else {
                BT_ERR("Invalid BT status from stack");