aboutsummaryrefslogtreecommitdiffstats
path: root/utils/prism2_srec.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/prism2_srec.c')
-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");