ieee80211: Fix an unused variable error I introduced yesterday.
Some compilers are more picky than others and I eliminated the use of a value_string array that I should not have in reorganizing the Extended Capabilities info. Change-Id: I1dcb09bf9f8df69445ebde8b88897482ddd1fa82 Reviewed-on: https://code.wireshark.org/review/24984 Petri-Dish: Richard Sharpe <realrichardsharpe@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com>
This commit is contained in:
parent
f8b67cb931
commit
f5e7f273c9
|
@ -2322,8 +2322,6 @@ static const value_string ht_rx_stbc_flag[] = {
|
|||
{0x00, NULL}
|
||||
};
|
||||
|
||||
#if 0
|
||||
/* Hidden since not used */
|
||||
/* IEEE Stc 802.11ac-2013 8.4.2.29 Extended Capabilities element*/
|
||||
static const value_string vht_max_mpdu_in_amsdu[] = {
|
||||
{0x00, "No limit"},
|
||||
|
@ -2332,8 +2330,6 @@ static const value_string vht_max_mpdu_in_amsdu[] = {
|
|||
{0x03, "8"},
|
||||
{0, NULL}
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
/* IEEE Stc 802.11ac/D3.1 */
|
||||
|
||||
|
@ -26617,7 +26613,7 @@ proto_register_ieee80211(void)
|
|||
|
||||
{&hf_ieee80211_tag_extended_capabilities_max_num_msdus,
|
||||
{"Max Number Of MSDUs In A-MSDU", "wlan.extcap.b63",
|
||||
FT_UINT16, BASE_DEC, NULL, 0x0180,
|
||||
FT_UINT16, BASE_DEC, VALS(vht_max_mpdu_in_amsdu), 0x0180,
|
||||
NULL, HFILL }},
|
||||
|
||||
{&hf_ieee80211_tag_extended_capabilities_b65_2,
|
||||
|
|
Loading…
Reference in New Issue