aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2003-07-26 02:53:03 (GMT)
committerJouni Malinen <j@w1.fi>2003-07-26 02:53:03 (GMT)
commitcb6131dde17798cbc337b39efc08d294c62d7fd6 (patch)
tree040e29756897a750a28ac6afdd8d7fc961776bee
parent593575cffe144a99eb201c60b177340683169e32 (diff)
downloadhostap-history-cb6131dde17798cbc337b39efc08d294c62d7fd6.zip
hostap-history-cb6131dde17798cbc337b39efc08d294c62d7fd6.tar.gz
hostap-history-cb6131dde17798cbc337b39efc08d294c62d7fd6.tar.bz2
Only allow station firmware to be downloaded to non-volatile memory (flash)
since Host AP driver does not yet support Primary f/w downloading.
-rw-r--r--utils/prism2_srec.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/prism2_srec.c b/utils/prism2_srec.c
index 7e4393d..6b1c058 100644
--- a/utils/prism2_srec.c
+++ b/utils/prism2_srec.c
@@ -1538,6 +1538,11 @@ int main(int argc, char *argv[])
}
if (non_volatile_download) {
+ if (srec->component.component != HFA384X_COMP_ID_STA) {
+ printf("\nNon-volatile downloading supports only "
+ "station firmware in this version. Aborted.\n");
+ return -1;
+ }
printf("\nDownloading to non-volatile memory (flash).\n"
"Note! This can take about 30 seconds. "
"Do _not_ remove card during download.\n");