LE Audio: Map EALREADY error of ase_stream_qos()
to send response with code 0x09 = Invalid Configuration Parameter
Value and reason 0x0a = Invalid_ASE_CIS_Mapping.
Previous response code was BT_ASCS_RSP_UNSPECIFIED (0x0e) and
reason BT_ASCS_REASON_NONE (0x00).
Fixes ASCS/SR/SPE/BI-15-C and ASCS/SR/SPE/BI-16-C PTS test cases.
@@ -1593,7 +1593,7 @@ static void ase_qos(struct bt_ascs_ase *ase, const struct bt_ascs_qos *qos)
} else if (cqos->pd == 0) {
reason = BT_ASCS_REASON_PD;
}
- } else if (err == -EADDRINUSE) {
+ } else if (err == -EALREADY) {
reason = BT_ASCS_REASON_CIS;
/* FIXME: Ugly workaround to send Response_Code
* 0x09 = Invalid Configuration Parameter Value
