git: if_iwm - Fix iwm_poll_bit() error value check in iwm_attach().

Imre Vadasz ivadasz at crater.dragonflybsd.org
Wed Aug 31 06:04:13 PDT 2016


commit 420099d00ea92d319ceca3ebf56ac57aa064dd20
Author: Imre Vadász <imre at vdsz.com>
Date:   Wed Aug 31 14:43:46 2016 +0200

    if_iwm - Fix iwm_poll_bit() error value check in iwm_attach().
    
    * The iwm(4) iwm_poll_bit() function returns 1 on success, and 0 on
      failure, whereas the iwl_poll_bit() in Linux iwlwifi returns < 0 on
      failure.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/420099d00ea92d319ceca3ebf56ac57aa064dd20


-- 
DragonFly BSD source repository


More information about the Commits mailing list