Skip to content

Commit

Permalink
Bluetooth: HFP HF: Rename cind_status_handle_values
Browse files Browse the repository at this point in the history
Rename cind_status_handle_values to ag_inidcator_handle_values.
Because the same function will be reused internally for +CIEV
Callbacks.

Change-Id: I875064de17700d72ea89dbbe0f5cb6554c813a5e
Signed-off-by: Sathish Narasimman <[email protected]>
  • Loading branch information
sathishnarasimman committed Jan 5, 2017
1 parent 4b323cd commit b5891d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subsys/bluetooth/host/hfp_hf.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ int cind_resp(struct at_client *hf_at, struct net_buf *buf)
return 0;
}

void cind_status_handle_values(struct at_client *hf_at, uint32_t index,
void ag_indicator_handle_values(struct at_client *hf_at, uint32_t index,
uint32_t value)
{
struct bt_hfp_hf *hf = CONTAINER_OF(hf_at, struct bt_hfp_hf, at);
Expand Down Expand Up @@ -298,7 +298,7 @@ int cind_status_handle(struct at_client *hf_at)
return ret;
}

cind_status_handle_values(hf_at, index, value);
ag_indicator_handle_values(hf_at, index, value);

index++;
}
Expand Down

0 comments on commit b5891d1

Please sign in to comment.