From 353ae15ead3aef12969500ed7a75998e8020b9fc Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Thu, 14 Aug 2008 16:02:25 +0000 Subject: 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. --- sys/dev/ic/rtw.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'sys/dev/ic/rtw.c') 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 } -- cgit v1.2.3