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/usb/if_ral.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/usb/if_ral.c')
-rw-r--r-- | sys/dev/usb/if_ral.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/dev/usb/if_ral.c b/sys/dev/usb/if_ral.c index 323c6b4e30f..5e7a8c3400d 100644 --- a/sys/dev/usb/if_ral.c +++ b/sys/dev/usb/if_ral.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ral.c,v 1.105 2008/07/30 06:25:23 damien Exp $ */ +/* $OpenBSD: if_ral.c,v 1.106 2008/08/14 16:02:24 damien Exp $ */ /*- * Copyright (c) 2005, 2006 @@ -804,13 +804,6 @@ ural_rxeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) /* node is no longer needed */ ieee80211_release_node(ic, ni); - /* - * 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)) - ural_start(ifp); - splx(s); DPRINTFN(15, ("rx done\n")); |