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/rt2661.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/rt2661.c')
-rw-r--r-- | sys/dev/ic/rt2661.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/ic/rt2661.c b/sys/dev/ic/rt2661.c index a55f5a6efc0..6a1bbc4ca0a 100644 --- a/sys/dev/ic/rt2661.c +++ b/sys/dev/ic/rt2661.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2661.c,v 1.42 2008/07/21 18:43:19 damien Exp $ */ +/* $OpenBSD: rt2661.c,v 1.43 2008/08/14 16:02:24 damien Exp $ */ /*- * Copyright (c) 2006 @@ -1142,13 +1142,6 @@ skip: desc->flags |= htole32(RT2661_RX_BUSY); sc->rxq.cur = (sc->rxq.cur + 1) % RT2661_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)) - rt2661_start(ifp); } /* |