OSDN Git Service

a2dp: return NotSupported error if no server found
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Tue, 14 Feb 2012 09:06:33 +0000 (10:06 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 14 Feb 2012 10:47:57 +0000 (12:47 +0200)
commit966561e04a9ac0ab172feb2381f76aa5a07f927c
tree945d0ae2e0e5769ba3e806691a67051873bac257
parent8a8aa92e51102389dfa5f9d0ffbee3947924caea
a2dp: return NotSupported error if no server found

With both sink and sources disabled, the A2DP server is not even
registered in audio_manager_init. When trying to register the endpoint,
this should result in the same error as if the server existed but the
profile was disabled.
audio/a2dp.c