[PATCH] Fix combining RAM images

Pavel Roskin proski
Wed Jan 28 15:25:52 PST 2004


Hello!

When both primary and secondary firmwares are loaded into the RAM in one
operation, the start address from the secondary firmware should be used.
Otherwise the card fails to initialize after download.

-- 
Regards,
Pavel Roskin
-------------- next part --------------
--- utils/prism2_srec.c
+++ utils/prism2_srec.c
@@ -1770,6 +1770,9 @@ int main(int argc, char *argv[])
 			       "images.\n");
 			return 1;
 		}
+
+		/* Start STA f/w if both PRI and STA f/w are loaded */
+		srec->start_addr = srec2->start_addr;
 	} else
 		srec2 = NULL;
 



More information about the Hostap mailing list