It seems that the first u32 after the header for some stats are used by
something not documented.
The stats struct starts after it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
smsdvb_update_isdbt_stats(client, p);
break;
default:
- smsdvb_update_dvb_stats(client, p);
+ /* Skip SmsMsgStatisticsInfo_ST:RequestResult field */
+ smsdvb_update_dvb_stats(client, p + sizeof(u32));
}
is_status_update = true;
/* Only for ISDB-T */
case MSG_SMS_GET_STATISTICS_EX_RES:
- smsdvb_update_isdbt_stats_ex(client, p);
+ /* Skip SmsMsgStatisticsInfo_ST:RequestResult field? */
+ smsdvb_update_isdbt_stats_ex(client, p + sizeof(u32));
is_status_update = true;
break;
default: