forked from osmocom/wireshark
BT Common: fix btcommon.eir_ad.entry.le_role filter
Bug: 14868 Change-Id: Ia52764c45d509a27545e266328702b79db3985b7 Reviewed-on: https://code.wireshark.org/review/28226 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
parent
4e7f4881d2
commit
169ff5a7f5
|
@ -2096,7 +2096,6 @@ static const value_string le_role_vals[] = {
|
|||
{ 0x03, "Peripheral and Central Role supported, Central Role preferred for connection establishment" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
value_string_ext le_role_vals_ext = VALUE_STRING_EXT_INIT(le_role_vals);
|
||||
|
||||
static const value_string tds_role_vals[] = {
|
||||
{ 0x00, "Not Specified" },
|
||||
|
@ -8213,7 +8212,7 @@ proto_register_btcommon(void)
|
|||
},
|
||||
{ &hf_btcommon_eir_ad_le_role,
|
||||
{ "Type", "btcommon.eir_ad.entry.le_role",
|
||||
FT_UINT8, BASE_HEX | BASE_EXT_STRING, &le_role_vals_ext, 0x01,
|
||||
FT_UINT8, BASE_HEX, VALS(le_role_vals), 0,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_btcommon_eir_ad_did_vendor_id_source,
|
||||
|
|
Loading…
Reference in New Issue