Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81ff2ab5 authored by Ajay Panicker's avatar Ajay Panicker
Browse files

Fix improper null check when handling rc features

Bug: 31533166
Change-Id: Ia04e9c51280a3e379c0670b39a84eb5a53c5332b
parent eb49f99d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -590,7 +590,7 @@ void handle_rc_ctrl_features(btif_rc_device_cb_t *p_dev)

void handle_rc_features(btif_rc_device_cb_t *p_dev)
{
    if (bt_rc_callbacks != NULL)
    if (bt_rc_callbacks == NULL)
    {
        BTIF_TRACE_ERROR("%s: bt_rc_callbacks NULL, returning", __func__);
        return;