mirror of git://git.sysmocom.de/ofono
emulator: Extend BRSF bitmap
The current check of 8 bits is not enough with HFP 1.7
This commit is contained in:
parent
bef4d610a3
commit
36a21da227
|
@ -453,7 +453,7 @@ static void brsf_cb(GAtServer *server, GAtServerRequestType type,
|
||||||
if (g_at_result_iter_next_number(&iter, &val) == FALSE)
|
if (g_at_result_iter_next_number(&iter, &val) == FALSE)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
if (val < 0 || val > 255)
|
if (val < 0 || val > 0xffff)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
em->r_features = val;
|
em->r_features = val;
|
||||||
|
|
Loading…
Reference in New Issue