Date: Fri, 16 Sep 2005 20:43:57 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 83756 for review Message-ID: <200509162043.j8GKhvno020940@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=83756 Change 83756 by sam@sam_ebb on 2005/09/16 20:43:25 cancel any bg scan when we get a frame to send Affected files ... .. //depot/projects/wifi/sys/dev/ath/if_ath.c#103 edit Differences ... ==== //depot/projects/wifi/sys/dev/ath/if_ath.c#103 (text+ko) ==== @@ -1508,6 +1508,15 @@ * the frame back when the time is right. */ ieee80211_pwrsave(ni, m); + /* + * If we're in power save mode 'cuz of a bg + * scan cancel it so the traffic can flow. + * The packet we just queued will automatically + * get sent when we drop out of power save. + * XXX locking + */ + if (ic->ic_flags & IEEE80211_F_SCAN) + ieee80211_cancel_scan(ic); goto reclaim; } /* calculate priority so we can find the tx queue */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509162043.j8GKhvno020940>