forked from osmocom/wireshark
GSM SIM: Show length for 0x9f status word
Second byte, sw2, contains the amount of bytes in the response. Change-Id: I237ef5978e81a2f13b821c5601177dac26829df1 Reviewed-on: https://code.wireshark.org/review/28850 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
parent
762f12d625
commit
98ecf04f91
|
@ -1105,7 +1105,7 @@ static const gchar *get_sw_string(guint16 sw)
|
|||
case 0x9e:
|
||||
return "Length of the response data given / SIM data download error";
|
||||
case 0x9f:
|
||||
return "Length of the response data";
|
||||
return wmem_strdup_printf(wmem_packet_scope(), "Length of the response data, Length is %u", sw2);
|
||||
case 0x92:
|
||||
if ((sw & 0xf0) == 0x00)
|
||||
return "Command successful but after internal retry routine";
|
||||
|
|
Loading…
Reference in New Issue