1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-12 22:11:58 +00:00

Set Miracle as device name if no frindly_name set

Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
This commit is contained in:
Andrey Gusakov 2014-08-29 14:16:21 +04:00 committed by albfan
parent 4d9cd01606
commit 026e7ea095

View file

@ -1621,7 +1621,7 @@ static int supplicant_status_fn(struct wpas *w,
r = wpas_message_append(m, "ss",
"device_name",
s->l->friendly_name ? : "unknown");
s->l->friendly_name ? : "Miracle");
if (r < 0) {
log_vERR(r);
goto error;