git: if_iwm: Fix up the rate control setup code.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Mon Jan 18 12:47:29 PST 2016


commit 47d937a2eab7d19dc35f99390889172b18a000d9
Author: Imre Vadász <imre at vdsz.com>
Date:   Mon Jan 18 21:15:28 2016 +0100

    if_iwm: Fix up the rate control setup code.
    
    - Initialise rates in the order we want to use them.
    - The rate table was being initialised in low->high, but the link quality
      table was being initialised high->low. So, when we did a lookup, we
      would get the indexes wrong.
    
    Taken-From: FreeBSD (SVN r294248)

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/47d937a2eab7d19dc35f99390889172b18a000d9


-- 
DragonFly BSD source repository



More information about the Commits mailing list