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/rtw.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/rtw.c')
-rw-r--r-- | sys/dev/ic/rtw.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c index 0dca15b1685..d2fbe888299 100644 --- a/sys/dev/ic/rtw.c +++ b/sys/dev/ic/rtw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtw.c,v 1.67 2008/07/21 18:43:19 damien Exp $ */ +/* $OpenBSD: rtw.c,v 1.68 2008/08/14 16:02:24 damien Exp $ */ /* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */ /*- @@ -1301,14 +1301,6 @@ next: KASSERT(rdb->rdb_next < rdb->rdb_ndesc); - /* - * In HostAP mode, ieee80211_input() will enqueue packets in if_snd - * without calling if_start(). - */ - if (!IFQ_IS_EMPTY(&sc->sc_if.if_snd) && - !(sc->sc_if.if_flags & IFF_OACTIVE)) - (*sc->sc_if.if_start)(&sc->sc_if); - return; #undef IS_BEACON } |