diff options
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/ral.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/ic/ral.c b/sys/dev/ic/ral.c index 14b3f3703d5..bbe973430f7 100644 --- a/sys/dev/ic/ral.c +++ b/sys/dev/ic/ral.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ral.c,v 1.59 2005/08/27 14:46:21 damien Exp $ */ +/* $OpenBSD: ral.c,v 1.60 2005/10/02 13:01:54 damien Exp $ */ /*- * Copyright (c) 2005 @@ -1342,6 +1342,13 @@ skip: desc->flags = htole32(RAL_RX_BUSY); sc->rxq.cur_decrypt = (sc->rxq.cur_decrypt + 1) % RAL_RX_RING_COUNT; } + + /* + * 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)) + ral_start(ifp); } /* |