Author: wmb Date: Fri Sep 23 23:53:29 2011 New Revision: 2533 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2533
Log: Wifi - fixed silly bug in $wep - now 13-byte keys work.
Modified: ofw/wifi/wifi-cfg.fth
Modified: ofw/wifi/wifi-cfg.fth ============================================================================== --- ofw/wifi/wifi-cfg.fth Fri Sep 23 07:16:50 2011 (r2532) +++ ofw/wifi/wifi-cfg.fth Fri Sep 23 23:53:29 2011 (r2533) @@ -81,7 +81,7 @@ \ expressed either in straight ASCII or in hexadecimal. In hex, the \ length is either 10 or 26 bytes, which converts to 5 or 13 ASCII bytes. : $wep ( wep$ -- ) - dup d# 10 = over d# 26 = if ( wep$ ) + dup d# 10 = over d# 26 = or if ( wep$ ) decode-hex ( wep$' ) else ( wep$ ) dup 5 <> over d# 13 <> and abort" WEP key must be 5 or 13 ASCII characters or 10 or 26 hex digits"
openfirmware@openfirmware.info