MBIM: MBIM_CID_MS_PROVISIONED_CONTEXT_V2 Query is legal

InformationBuffer must be empty

Change-Id: I78367fc540122af099c3d9ab020b210ba112d997
Reviewed-on: https://code.wireshark.org/review/29576
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Jano Svitok 2018-09-10 10:44:29 +02:00 committed by Anders Broman
parent bba021dd30
commit a89266c337
1 changed files with 2 additions and 2 deletions

View File

@ -5726,8 +5726,8 @@ dissect_mbim_control(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *
case MBIM_CID_MS_PROVISIONED_CONTEXT_V2:
if (cmd_type == MBIM_COMMAND_SET) {
mbim_dissect_set_ms_provisioned_context_v2(frag_tvb, pinfo, subtree, offset);
} else {
proto_tree_add_expert(subtree, pinfo, &ei_mbim_unexpected_msg, frag_tvb, offset, -1);
} else if (info_buff_len) {
proto_tree_add_expert(subtree, pinfo, &ei_mbim_unexpected_info_buffer, frag_tvb, offset, info_buff_len);
}
break;
case MBIM_CID_MS_NETWORK_BLACKLIST: