Fix nic lock usage around iwm_disable_rx_dma().
authorstsp <stsp@openbsd.org>
Fri, 21 Apr 2017 16:40:11 +0000 (16:40 +0000)
committerstsp <stsp@openbsd.org>
Fri, 21 Apr 2017 16:40:11 +0000 (16:40 +0000)
commit9599182f3b9e66ac26f2f7d706127514f82c5c56
treedb81cb3da442bb2f465c3cfa10036b51719fc4bc
parentfad36d64201af4b0326dbb5840e25248dd85d967
Fix nic lock usage around iwm_disable_rx_dma().
iwm_disable_rx_dma() was unintentionally releasing the nic lock too early.
Patch by Imre Vadasz.
sys/dev/pci/if_iwm.c