Refactoring change to simplify an ugly IF clause.
Refactoring change to simplify an ugly IF clause.

The capability field parsing is using a complex if statement, while
checking whether the frame subtype is one of the known types. The
patch simplifies the if statement by defining a list of known types
and checking for inclusion.
GTiroadkill/dpkt,Alwnikrotikz/dpkt,Turkingwang/dpkt,tgoodyear/dpkt,DamionWaltermeyer/dpkt