Bluetooth: Audio: MICS register return if already registered

Change how bt_mics_register works if MICS has already been
registered.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2021-06-08 16:45:15 +02:00 committed by Carles Cufí
commit 12103771af
2 changed files with 8 additions and 0 deletions

View file

@ -75,6 +75,7 @@ struct bt_mics_included {
*
* @param param Pointer to an initialization structure.
* @param[out] mics Pointer to the registered Microphone Input Control Service.
* This will still be valid if the return value is -EALREADY.
*
* @return 0 if success, errno on failure.
*/