OSDN Git Service

audio: Drop audio-specific authorization mechanism
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Fri, 28 Sep 2012 16:32:25 +0000 (18:32 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 1 Oct 2012 14:28:23 +0000 (17:28 +0300)
commit293706b8a542783896914ce01b8317fbce748eb5
treef1cbd0a1803663d9f7ddf2af902ebb226096e231
parent0314008ff39d156ff1a98c2f20f13284983d0d84
audio: Drop audio-specific authorization mechanism

Remove the audio-specific service authorization mechanism in favor of
using the conventional one.

The main difference is that audio profiles will be authorized
independently. Therefore a single connection might result in several
profile authorization requests to the agent (i.e. HFP, A2DP and AVRCP).

This removes any internal policy that would skip the authorization
procedure, making it simpler and more convenient for IVI use-cases.

Agents interested in simulating the old behavior are encouraged to
either set the device as trusted or just reply to the additional
authorization requests automatically without user intervention.
audio/avctp.c
audio/avdtp.c
audio/device.c
audio/device.h
audio/manager.c