Author: wmb Date: Tue May 24 23:16:47 2011 New Revision: 2221 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2221
Log: Marvell "libertas" WLAN driver - Retries after failure to associate were crashing instead of retrying.
Modified: dev/libertas.fth
Modified: dev/libertas.fth ============================================================================== --- dev/libertas.fth Tue May 24 23:12:36 2011 (r2220) +++ dev/libertas.fth Tue May 24 23:16:47 2011 (r2221) @@ -1469,11 +1469,13 @@ then ( ch ssid$ target-mac$ ) ?set-wep \ Set WEP keys again, if ktype is WEP set-mac-control - 2dup authenticate - d# 10 0 do - bss-type bss-type-managed = if (associate) else (join) then ( ok? ) - if true unloop exit then + 2dup authenticate ( ch ssid$ target-mac$ ) + d# 10 0 do ( ch ssid$ target-mac$ ) + 4 pick 4 pick 4 pick 4 pick 4 pick ( ch ssid$ target-mac$ ch ssid$ target-mac$ ) + bss-type bss-type-managed = if (associate) else (join) then ( ch ssid$ target-mac$ ok? ) + if 2drop 3drop true unloop exit then loop + 2drop 3drop false ; headers
openfirmware@openfirmware.info