prism54 Bug - Fix frequency reporting
Subsystems (3)
PATCH 1/6 prism54 Bug - Fix frequency reporting
2004-09-05 Margit Schubert-While <[email protected]>
* prism54_get_freq is incorrectly returning channel
* and not frequency. Wireless tools detect this, but
* other programs do not, leading to insane reported
* values. (As Jean documents, drivers should really be
* reporting the frequency).
* An example is wavemon.
Margit
drivers/net/wireless/prism54/isl_ioctl.c +3 -2
@@ -334,9 +334,10 @@int rvalue; rvalue =mgt_get_request (priv,DOT11_OID_CHANNEL ,0 ,NULL , &r); - + fwrq->i = r.u; + rvalue |=mgt_get_request (priv,DOT11_OID_FREQUENCY ,0 ,NULL , &r); fwrq->m = r.u; - fwrq->e =0 ; + fwrq->e =3 ;return rvalue; }
_______________________________________________
Prism54-devel mailing list
[email protected]
http://prism54.org/mailman/listinfo/prism54-devel