In mue_iff() move the initialization of the hash table up so that is done
authormestre <mestre@openbsd.org>
Wed, 19 Sep 2018 07:47:54 +0000 (07:47 +0000)
committermestre <mestre@openbsd.org>
Wed, 19 Sep 2018 07:47:54 +0000 (07:47 +0000)
commitbd0c1d2d597c584055fe7f16ad9a25d9aefce702
tree198660f8d9c564a0bc35537397dbdf363ff46938
parent1a271186e85b66dcbe83011aad3f479438afe003
In mue_iff() move the initialization of the hash table up so that is done
unconditionally, like it's done on other devices, so that we don't end up in
the situation of the card being put in promiscuous mode or if
ac->ac_multirangecnt > 0 and then we would write into the table while being
uninitialized a little bit later.

Noticed on Coverity ID 1473316.

hint from claudio@ and kettenis@
OK kevlo@ claudio@
sys/dev/usb/if_mue.c