bluetooth: allow UTF-8 in device descriptions

Users may configure the device alias to have characters outside the
ASCII range, so our name cleanup routine was too aggressive. Let's just
make sure that the device description is a valid UTF-8 string.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=98160
This commit is contained in:
Tanu Kaskinen 2016-10-11 17:27:06 +03:00
parent b53dd1f0df
commit d7e85813bd
4 changed files with 4 additions and 67 deletions

View file

@ -155,8 +155,6 @@ typedef enum pa_bluez4_form_factor {
pa_bluez4_form_factor_t pa_bluez4_get_form_factor(uint32_t class);
const char *pa_bluez4_form_factor_to_string(pa_bluez4_form_factor_t ff);
char *pa_bluez4_cleanup_name(const char *name);
const char *pa_bluez4_profile_to_string(pa_bluez4_profile_t profile);
#endif