Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Be explicit about which cards to setup .11a rate...



details:   https://anonhg.NetBSD.org/src/rev/dc62fc81b54e
branches:  trunk
changeset: 583872:dc62fc81b54e
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Aug 27 07:26:47 2005 +0000

description:
Be explicit about which cards to setup .11a rates for.

hi matt.

diffstat:

 sys/dev/pci/if_iwi.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r ed0ae66ddcf9 -r dc62fc81b54e sys/dev/pci/if_iwi.c
--- a/sys/dev/pci/if_iwi.c      Sat Aug 27 01:32:59 2005 +0000
+++ b/sys/dev/pci/if_iwi.c      Sat Aug 27 07:26:47 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_iwi.c,v 1.15 2005/08/19 14:26:38 skrll Exp $  */
+/*     $NetBSD: if_iwi.c,v 1.16 2005/08/27 07:26:47 skrll Exp $  */
 
 /*-
  * Copyright (c) 2004, 2005
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_iwi.c,v 1.15 2005/08/19 14:26:38 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iwi.c,v 1.16 2005/08/27 07:26:47 skrll Exp $");
 
 /*-
  * Intel(R) PRO/Wireless 2200BG/2225BG/2915ABG driver
@@ -304,7 +304,8 @@
            ether_sprintf(ic->ic_myaddr));
 
 
-       if (PCI_PRODUCT(pa->pa_id) >= PCI_PRODUCT_INTEL_PRO_WL_2915ABG_1) {
+       if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_PRO_WL_2915ABG_1 ||
+           PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_PRO_WL_2915ABG_2) {
                /* set supported .11a rates (2915ABG only) */
                ic->ic_sup_rates[IEEE80211_MODE_11A] = iwi_rateset_11a;
 



Home | Main Index | Thread Index | Old Index