Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci No longer wrongly advertise ad-hoc (IBSS) mode a...



details:   https://anonhg.NetBSD.org/src/rev/b64162035048
branches:  trunk
changeset: 779230:b64162035048
user:      khorben <khorben%NetBSD.org@localhost>
date:      Sat May 12 13:40:21 2012 +0000

description:
No longer wrongly advertise ad-hoc (IBSS) mode as being supported.

Fixes kern/46101

No objection from current-users@

diffstat:

 sys/dev/pci/if_wpi.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 2a924b7a6e66 -r b64162035048 sys/dev/pci/if_wpi.c
--- a/sys/dev/pci/if_wpi.c      Sat May 12 13:13:24 2012 +0000
+++ b/sys/dev/pci/if_wpi.c      Sat May 12 13:40:21 2012 +0000
@@ -1,4 +1,4 @@
-/*  $NetBSD: if_wpi.c,v 1.50 2012/01/30 19:41:21 drochner Exp $    */
+/*  $NetBSD: if_wpi.c,v 1.51 2012/05/12 13:40:21 khorben Exp $    */
 
 /*-
  * Copyright (c) 2006, 2007
@@ -18,7 +18,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wpi.c,v 1.50 2012/01/30 19:41:21 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wpi.c,v 1.51 2012/05/12 13:40:21 khorben Exp $");
 
 /*
  * Driver for Intel PRO/Wireless 3945ABG 802.11 network adapters.
@@ -310,7 +310,9 @@
 
        /* set device capabilities */
        ic->ic_caps =
+#ifdef netyet
                IEEE80211_C_IBSS |       /* IBSS mode support */
+#endif
                IEEE80211_C_WPA |        /* 802.11i */
                IEEE80211_C_MONITOR |    /* monitor mode supported */
                IEEE80211_C_TXPMGT |     /* tx power management */



Home | Main Index | Thread Index | Old Index