Fix Audio/Radio reinitialization issue
authorManuel Bachmann <manuel.bachmann@iot.bzh>
Wed, 6 Jan 2016 12:56:00 +0000 (13:56 +0100)
committerManuel Bachmann <manuel.bachmann@iot.bzh>
Wed, 6 Jan 2016 12:56:00 +0000 (13:56 +0100)
commita10fa6960df758dcfcb406dcee6383be5d494187
tree676f64010ba300119031fae2c355cf142fec4218
parent12686e3f00eb942bf587e99f80654400cc6995b6
Fix Audio/Radio reinitialization issue

Audio and Radio plugins init() functions were re-creating
a new client context each time, but it is actually unwanted
as afb-radio <TokenRefresh> widgets uses this function to
initialize AND refresh the context.

Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
plugins/audio/audio-api.c
plugins/radio/radio-api.c