Added code to deal w/ Compaq PCI card CIS stupidity.

This commit is contained in:
mark 2000-06-06 19:41:31 +00:00
parent 8f4eaa6a63
commit 402f1422a1
1 changed files with 4 additions and 1 deletions

View File

@ -2334,7 +2334,9 @@ void prism2sta_config(dev_link_t *link)
link->conf.Vcc = 33; /* default to 3.3v (safer)*/
}
if ( link->conf.Vcc != socket_config.Vcc ) {
if ( link->conf.Vcc >= socket_config.Vcc ) {
link->conf.Vcc = socket_config.Vcc;
} else {
goto next_entry;
}
@ -2438,6 +2440,7 @@ next_entry:
return;
cs_failed:
cs_error(link->handle, last_fn, last_ret);
WLAN_LOG_ERROR("NextTuple failure? It's probably a Vcc mismatch.\n");
failed:
prism2sta_release((UINT32)link);