fix the TIMEOUT.

This commit is contained in:
solomon 2004-11-18 15:27:10 +00:00
parent 95c2867286
commit 16e7e21e32
3 changed files with 5 additions and 2 deletions

View File

@ -41,8 +41,9 @@
* Intersil Corporation as part of PRISM(R) chipset product development.
*
* --------------------------------------------------------------------
- scan_timeout WAY too long. (Wolfram Gloger)
- dev_get is no more, as of 2.6.10-rc2 -- switch to dev_alloc_name
instead, which is present in older kernels.
instead, which is present in older kernels. (reported by Colin Leroy)
-pre23
- Fix badness in 2.6.10-rc1 (Colin Leroy)
- Compile fix for 2.6.9-rc4+ (Jeff Chua)

2
THANKS
View File

@ -124,6 +124,8 @@ Arnold Liu <asliu23@yahoo.com>
Alain Chehikian <alain.chehikian@cegetel.net>
Ashish <thermalvoid@yahoo.com>
J.D. Cole <listguy@transientresearch.com>
Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
Colin Leroy <colin@colino.net>
[Many, many more. If I've overlooked you and you want to be listed here,
send me e-mail and I'll fix it. I _know_ a bunch of linux-wlan contributors

View File

@ -382,7 +382,7 @@ int prism2mgmt_scan(wlandevice_t *wlandev, void *msgp)
/* Figure out our timeout first Kus, then HZ */
timeout = msg->channellist.data.len * msg->maxchanneltime.data;
timeout = timeout * 1000 / HZ;
timeout = (timeout * HZ)/1000;
/* Issue the scan request */
hw->scanflag = 0;