In iwm_init() save the generation counter once before looping over
authorstsp <stsp@openbsd.org>
Fri, 16 Jun 2017 08:45:34 +0000 (08:45 +0000)
committerstsp <stsp@openbsd.org>
Fri, 16 Jun 2017 08:45:34 +0000 (08:45 +0000)
commit5ae9823c62a94d858cce9b175d4e1c505f7a9164
treecd9bc17dd35b7cbcfd1eeba6ed6bac8345645ac6
parent02638669758e1736439526eaf4359c6856662de0
In iwm_init() save the generation counter once before looping over
tsleep(9), instead of saving it during every iteration.
sys/dev/pci/if_iwm.c