git: if_iwm - Fix iwm_poll_bit() usage in iwm_stop_device().

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sat Jul 30 05:39:40 PDT 2016


commit 144d4fa7b758735badcf23055fe5374cab311af7
Author: Imre Vadász <imre at vdsz.com>
Date:   Sat Jul 30 12:32:26 2016 +0200

    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.

Summary of changes:
 sys/dev/netif/iwm/if_iwm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/144d4fa7b758735badcf23055fe5374cab311af7


-- 
DragonFly BSD source repository


More information about the Commits mailing list