aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2018-07-29 09:41:35 +0300
committerPeter Wu <peter@lekensteyn.nl>2018-07-29 21:24:25 +0000
commite7f7e04eff286557a86ff152b0faba02223aa070 (patch)
tree4b24d5996486139553ee3aba244901911b7652f2
parent75dc29bc105f27c4dfd8795a3ef9d367d3e2b4b3 (diff)
ieee80211: don't print the mode and channel in CSA IE as HEX
The channel and the mode are easier to read as a decimal number. Change-Id: Ia34901cb7e799ab1fbee3bd754b488f84c20274a Reviewed-on: https://code.wireshark.org/review/28876 Reviewed-by: Anders Broman <a.broman58@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
-rw-r--r--epan/dissectors/packet-ieee80211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c
index 4744f5b783..494dee9569 100644
--- a/epan/dissectors/packet-ieee80211.c
+++ b/epan/dissectors/packet-ieee80211.c
@@ -29334,12 +29334,12 @@ proto_register_ieee80211(void)
{&hf_ieee80211_csa_channel_switch_mode,
{"Channel Switch Mode", "wlan.csa.channel_switch_mode",
- FT_UINT8, BASE_HEX, NULL, 0,
+ FT_UINT8, BASE_DEC, NULL, 0,
"Indicates any restrictions on transmission until a channel switch", HFILL }},
{&hf_ieee80211_csa_new_channel_number,
{"New Channel Number", "wlan.csa.new_channel_number",
- FT_UINT8, BASE_HEX, NULL, 0,
+ FT_UINT8, BASE_DEC, NULL, 0,
"Set to the number of the channel to which the STA is moving", HFILL }},
{&hf_ieee80211_csa_channel_switch_count,