if_iwm - Fix iwm_poll_bit() usage in iwm_stop_device().
commita3b959b3534339c5e49d9eded22e57d433603618
authorImre Vadász <imre@vdsz.com>
Sat, 30 Jul 2016 10:32:26 +0000 (30 12:32 +0200)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 31 Jul 2016 07:01:02 +0000 (31 00:01 -0700)
tree5d0dacac668dc9da23e9df294b5ecfde03a19778
parent10b3a023c445d08a3e98b2b503cd044be42490ac
if_iwm - Fix iwm_poll_bit() usage in iwm_stop_device().

* The iwm(4) iwm_poll_bit() returns 1 on success and 0 on failure,
  whereas iwl_poll_bit() in Linux iwlwifi returns >= 0 on success and
  < 0 on failure.
sys/dev/netif/iwm/if_iwm.c