ref: a63c54212f17bfea27d04ca008ece63bd15b4f90
parent: ecb19ace6549506cc0cb6b43ea0f09d246d5d1e0
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Tue May 21 15:29:57 EDT 2013
wifi: properly size internal wifi input processing queue we only used wifi->iq to process management frames only, now its also used to forward encrypted data frames, so size it accordingly.
--- a/sys/src/9/pc/wifi.c
+++ b/sys/src/9/pc/wifi.c
@@ -466,7 +466,7 @@
wifi = malloc(sizeof(Wifi));
if(wifi == nil)
error(Enomem);
- wifi->iq = qopen(8*1024, 0, 0, 0);
+ wifi->iq = qopen(ether->limit, 0, 0, 0);
if(wifi->iq == nil){free(wifi);
error(Enomem);
--
⑨