Remove the search back up the proto tree for the capture frequency that was
authorRichard Sharpe <rsharpe@samba.org>
Mon, 24 Aug 2015 14:39:44 +0000 (07:39 -0700)
committerGuy Harris <guy@alum.mit.edu>
Tue, 25 Aug 2015 02:15:23 +0000 (02:15 +0000)
commitedeaae04d91ca8675190c5d1c528f24d0fefc06c
treed33994a50c44cd5ace531e10335cd9f789b5dd0e
parent4ba522537a2ad86acb3451c14baa135e6a88b2bc
Remove the search back up the proto tree for the capture frequency that was
being used to determine if we are dissecting 802.11ad in several places.

Since we now have a macro for testing that and the frequency is in the phdr
we really should use that. This also prevents problems during display filter
execution with respect to fields that are only present for 802.11ad.

Change-Id: Id04a31c15b04378b6b0f056baa1f37d94a65b71c
Signed-off-by: Richard Sharpe <realrichardsharpe@gmail.com>
Reviewed-on: https://code.wireshark.org/review/10234
Reviewed-by: Guy Harris <guy@alum.mit.edu>
epan/dissectors/packet-ieee80211.c