mirror of git://git.sysmocom.de/ofono
Fix registration status decoding
This commit is contained in:
parent
d2a42c71dd
commit
e79d5ad208
|
@ -349,7 +349,7 @@ static gboolean decode_reg_status(struct netreg_data *nd, const guint8 *msg,
|
|||
if (isi_sb_iter_get_len(&iter) < 12)
|
||||
return FALSE;
|
||||
|
||||
if (!isi_sb_iter_get_byte(&iter, (guint8 *)status, 2))
|
||||
if (!isi_sb_iter_get_byte(&iter, &byte, 2))
|
||||
return FALSE;
|
||||
|
||||
if (!isi_sb_iter_get_byte(&iter, &nd->last_reg_mode, 3))
|
||||
|
|
Loading…
Reference in New Issue