wireless - explicit cast as types have same vals by design

This commit is contained in:
Carsten Haitzler 2020-01-15 17:16:29 +01:00
parent 628736a4a3
commit 58af9a7d8c
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ _connman_service_convert(Connman_Service *cs)
wn->name = cs->name;
wn->security = cs->security;
wn->state = _connman_wifi_state_convert(cs->state);
wn->type = cs->type;
wn->type = (Wireless_Service_Type)cs->type;
wn->strength = cs->strength;
wn->connect_cb = _connman_service_connect;
return wn;