diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-03-02 13:53:42 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-03-02 13:53:42 +0000 |
commit | 2e0f9211b0fa96a6b1cbb501e9a19b7b81ffd98d (patch) | |
tree | 456ad090fa7b8942bb00cecb7d433b14ec5a3aa2 /sys/dev | |
parent | f9522762a9878cadcd0450dfd8388397ba0be475 (diff) |
match iwn and init txrate at lowest available bit-rate
ok stsp@ phessler@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_iwm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c index 24c38811776..cb60bfa19df 100644 --- a/sys/dev/pci/if_iwm.c +++ b/sys/dev/pci/if_iwm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwm.c,v 1.25 2015/03/02 13:51:10 jsg Exp $ */ +/* $OpenBSD: if_iwm.c,v 1.26 2015/03/02 13:53:41 jsg Exp $ */ /* * Copyright (c) 2014 genua mbh <info@genua.de> @@ -5282,7 +5282,8 @@ iwm_setrates(struct iwm_node *in) /* init amrr */ ieee80211_amrr_node_init(&sc->sc_amrr, &in->in_amn); - ni->ni_txrate = nrates-1; + /* Start at lowest available bit-rate, AMRR will raise. */ + ni->ni_txrate = 0; } int |