mirror of git://git.sysmocom.de/ofono
simutil: Remove pointless check
len is already checked >= 16 above
This commit is contained in:
parent
f9204363e0
commit
9111a1ac53
|
@ -1701,10 +1701,6 @@ gboolean sim_parse_umts_authenticate(const unsigned char *buffer,
|
|||
|
||||
break;
|
||||
case 0xdc:
|
||||
/* 'DC' + '0E' + AUTS(14) = 16 */
|
||||
if (len < 16)
|
||||
goto umts_end;
|
||||
|
||||
/* sync error */
|
||||
if (buffer[1] != 0x0e)
|
||||
goto umts_end;
|
||||
|
|
Loading…
Reference in New Issue