an invalid value of `mcs' may come from the hardware so adjust code so that the
authormestre <mestre@openbsd.org>
Thu, 25 Mar 2021 16:23:39 +0000 (16:23 +0000)
committermestre <mestre@openbsd.org>
Thu, 25 Mar 2021 16:23:39 +0000 (16:23 +0000)
commitd3ab93457784742bd95fc71e948dc3d3d5ffb48a
treea1e888da320bd81eae13a4e5c55585be586726b7
parent93960a547c091f52084d4abca39db7a9dc189e73
an invalid value of `mcs' may come from the hardware so adjust code so that the
value is only used after checking if it's valid or not.

CID 1502921

OK stsp@ phessler@
sys/net80211/ieee80211_ra.c