Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Don't set CTS to self. Linux stopped setting th...



details:   https://anonhg.NetBSD.org/src/rev/f18fb5eb14f6
branches:  trunk
changeset: 806625:f18fb5eb14f6
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Tue Mar 03 09:41:31 2015 +0000

description:
Don't set CTS to self.  Linux stopped setting this back in
dc271ee0d04d12d6bfabacbec803289a7072fbd9 as it is known
to cause problems.

>From OpenBSD rev.1.30.

diffstat:

 sys/dev/pci/if_iwm.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 1cb043d8e000 -r f18fb5eb14f6 sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Tue Mar 03 09:34:40 2015 +0000
+++ b/sys/dev/pci/if_iwm.c      Tue Mar 03 09:41:31 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_iwm.c,v 1.21 2015/03/03 09:34:40 nonaka Exp $       */
+/*     $NetBSD: if_iwm.c,v 1.22 2015/03/03 09:41:31 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.21 2015/03/03 09:34:40 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_iwm.c,v 1.22 2015/03/03 09:41:31 nonaka Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -4884,7 +4884,6 @@
        }
 
        cmd->protection_flags |= htole32(IWM_MAC_PROT_FLG_TGG_PROTECT);
-       cmd->protection_flags |= htole32(IWM_MAC_PROT_FLG_SELF_CTS_EN);
 
        cmd->filter_flags = htole32(IWM_MAC_FILTER_ACCEPT_GRP);
 }



Home | Main Index | Thread Index | Old Index