We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cf5b0c commit 114bc80Copy full SHA for 114bc80
subsys/bluetooth/host/iso.c
@@ -2191,7 +2191,7 @@ int bt_iso_cig_create(const struct bt_iso_cig_param *param, struct bt_iso_cig **
2191
2192
cig_rsp = (void *)rsp->data;
2193
2194
- if (rsp->len < sizeof(cig_rsp) || cig_rsp->num_handles != param->num_cis) {
+ if (rsp->len < sizeof(*cig_rsp) || cig_rsp->num_handles != param->num_cis) {
2195
LOG_WRN("Unexpected response to hci_le_set_cig_params");
2196
err = -EIO;
2197
net_buf_unref(rsp);
0 commit comments