mirror of git://git.sysmocom.de/ofono
emulator: Change feature check to attend HFP 1.6
HFP 1.6 adds a new feature called Codec Negotitation. For the HF Role, this feature is stored in bit 8 of the supported features bitmap. This patch changes the range of valid HF feature bitmaps to 2^8-1.
This commit is contained in:
parent
600539ed2a
commit
82909259c4
|
@ -453,7 +453,7 @@ static void brsf_cb(GAtServer *server, GAtServerRequestType type,
|
|||
if (g_at_result_iter_next_number(&iter, &val) == FALSE)
|
||||
goto fail;
|
||||
|
||||
if (val < 0 || val > 127)
|
||||
if (val < 0 || val > 255)
|
||||
goto fail;
|
||||
|
||||
em->r_features = val;
|
||||
|
|
Loading…
Reference in New Issue