summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/wps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/wps.c b/apps/wps.c
index 922deb2647..6302626004 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -376,7 +376,7 @@ long wps_show(void)
376 about to shut down. lets save the settings. */ 376 about to shut down. lets save the settings. */
377 if (paused) { 377 if (paused) {
378 settings_save(); 378 settings_save();
379#ifndef HAVE_RTC 379#if !defined(HAVE_RTC) && !defined(HAVE_SW_POWEROFF)
380 ata_flush(); 380 ata_flush();
381#endif 381#endif
382 } 382 }