if_iwm - Sync IWM_MVM_ALIVE waiting and start_fw handling with iwlwifi.
authorImre Vadász <imre@vdsz.com>
Fri, 23 Sep 2016 17:09:13 +0000 (19:09 +0200)
committerImre Vadász <imre@vdsz.com>
Fri, 23 Sep 2016 22:43:04 +0000 (00:43 +0200)
commita7697ea01c11fd493aec52260a02f31df680eb91
treeb6049e5b84dd96a07c41d5d6411a35a9c154561e
parente98ee77a816bfd8b4912047b93dfb2c560788f24
if_iwm - Sync IWM_MVM_ALIVE waiting and start_fw handling with iwlwifi.

* Use the notification wait API, like it's done in the Linux iwlwifi code,
  to wait for the IWM_MVM_ALIVE notification.

* This also should fix some firmware load interrupt issues, and errors
  in the nic lock using.

Taken-From: Linux iwlwifi
sys/dev/netif/iwm/if_iwm.c
sys/dev/netif/iwm/if_iwmreg.h
sys/dev/netif/iwm/if_iwmvar.h