Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Correctly set lowest_present_ofdm in iwm_mvm_ack...
details: https://anonhg.NetBSD.org/src/rev/ebf602362971
branches: trunk
changeset: 336452:ebf602362971
user: nonaka <nonaka%NetBSD.org@localhost>
date: Mon Mar 02 12:07:27 2015 +0000
description:
Correctly set lowest_present_ofdm in iwm_mvm_ack_rates().
>From OpenBSD rev.1.23.
diffstat:
sys/dev/pci/if_iwm.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r fbac3aecf272 -r ebf602362971 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c Mon Mar 02 11:37:25 2015 +0000
+++ b/sys/dev/pci/if_iwm.c Mon Mar 02 12:07:27 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_iwm.c,v 1.15 2015/02/25 12:41:15 nonaka Exp $ */
+/* $NetBSD: if_iwm.c,v 1.16 2015/03/02 12:07:27 nonaka Exp $ */
/* OpenBSD: if_iwm.c,v 1.18 2015/02/11 01:12:42 brad Exp */
/*
@@ -105,7 +105,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.15 2015/02/25 12:41:15 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.16 2015/03/02 12:07:27 nonaka Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -4775,8 +4775,8 @@
for (i = IWM_FIRST_OFDM_RATE; i <= IWM_LAST_NON_HT_RATE; i++) {
int adj = i - IWM_FIRST_OFDM_RATE;
ofdm |= (1 << adj);
- if (lowest_present_cck > adj)
- lowest_present_cck = adj;
+ if (lowest_present_ofdm > adj)
+ lowest_present_ofdm = adj;
}
/*
Home |
Main Index |
Thread Index |
Old Index