summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ic/malo.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/ic/malo.c b/sys/dev/ic/malo.c
index 8e92ead659f..fcf61155b37 100644
--- a/sys/dev/ic/malo.c
+++ b/sys/dev/ic/malo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: malo.c,v 1.63 2007/02/14 20:52:26 mglocker Exp $ */
+/* $OpenBSD: malo.c,v 1.64 2007/03/14 08:23:09 claudio Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -1773,6 +1773,13 @@ 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