diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2009-02-10 23:48:37 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2009-02-10 23:53:36 +0200 |
commit | cce4359831b5ff02f63e9748671fa744d500d27f (patch) | |
tree | 65f224d3cc425a70c81002e0e21316317ff4880c /LGPL | |
parent | cac0f9ef2b91462778600821f456248efffb2517 (diff) |
bluetooth: reinitialize the sample spec when switching profile
When doing init_profile(), the value u->sample_spec is modified to the
one which has been last configured. In case of HSP, it will be 8kHz.
Later on, when setting the profile to A2DP, it picks up the lower rate
available which match with current u->sample_spec.
In my case, it would be 16kHz. To circunvent the issue, I decided to
reinitialize the u->sample_spec to default value with user module
argument requested rate.
Diffstat (limited to 'LGPL')
0 files changed, 0 insertions, 0 deletions