Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic So that the internal bridge works in AP mode, cal...



details:   https://anonhg.NetBSD.org/src/rev/83bc3bc75139
branches:  trunk
changeset: 555382:83bc3bc75139
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Sun Nov 16 09:32:01 2003 +0000

description:
So that the internal bridge works in AP mode, call ath_start after
processing Rx packets.

diffstat:

 sys/dev/ic/ath.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 7ef1da5bb86e -r 83bc3bc75139 sys/dev/ic/ath.c
--- a/sys/dev/ic/ath.c  Sun Nov 16 09:05:53 2003 +0000
+++ b/sys/dev/ic/ath.c  Sun Nov 16 09:32:01 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ath.c,v 1.15 2003/11/02 11:07:45 wiz Exp $     */
+/*     $NetBSD: ath.c,v 1.16 2003/11/16 09:32:01 dyoung Exp $  */
 
 /*-
  * Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
@@ -41,7 +41,7 @@
 __FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.14 2003/09/05 22:22:49 sam Exp $");
 #endif
 #ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.15 2003/11/02 11:07:45 wiz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.16 2003/11/16 09:32:01 dyoung Exp $");
 #endif
 
 /*
@@ -2136,6 +2136,9 @@
 
        ath_hal_rxmonitor(ah);                  /* rx signal state monitoring */
        ath_hal_rxena(ah);                      /* in case of RXEOL */
+
+       if ((ifp->if_flags & IFF_OACTIVE) == 0 && !IFQ_IS_EMPTY(&ifp->if_snd))
+               ath_start(ifp);
 }
 
 /*



Home | Main Index | Thread Index | Old Index