PERFORCE change 83756 for review
Sam Leffler
sam at FreeBSD.org
Fri Sep 16 13:43:59 PDT 2005
http://perforce.freebsd.org/chv.cgi?CH=83756
Change 83756 by sam at 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 */
More information about the p4-projects
mailing list