diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2008-08-14 16:02:25 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2008-08-14 16:02:25 +0000 |
commit | 353ae15ead3aef12969500ed7a75998e8020b9fc (patch) | |
tree | 177fe2b9fa5b18f26bbf8c8962528b9509bb8007 /sys/dev/ic/malo.c | |
parent | 801ccc23fcf001022bc36ff530f06c7a6e144d66 (diff) |
in ieee80211_input(), call if_start() after enqueuing frames in if_snd
when acting as an access point instead of having each driver doing the
job.
tested by krw@ (ral AP) and me with several drivers.
Diffstat (limited to 'sys/dev/ic/malo.c')
-rw-r--r-- | sys/dev/ic/malo.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/ic/malo.c b/sys/dev/ic/malo.c index 2e502ef3f3c..643fcf6313b 100644 --- a/sys/dev/ic/malo.c +++ b/sys/dev/ic/malo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: malo.c,v 1.84 2008/07/27 11:28:17 mbalmer Exp $ */ +/* $OpenBSD: malo.c,v 1.85 2008/08/14 16:02:24 damien Exp $ */ /* * Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org> @@ -1758,13 +1758,6 @@ skip: } malo_mem_write4(sc, sc->sc_RxPdRdPtr, rxRdPtr); - - /* - * In HostAP mode, ieee80211_input() will enqueue packets in if_snd - * without calling if_start(). - */ - if (!IFQ_IS_EMPTY(&ifp->if_snd) && !(ifp->if_flags & IFF_OACTIVE)) - (*ifp->if_start)(ifp); } int |