diff options
Diffstat (limited to 'apps/gui/wps.c')
-rw-r--r-- | apps/gui/wps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c index f624365026..99bc731c7d 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c | |||
@@ -115,7 +115,7 @@ void wps_data_load(enum screen_type screen, const char *buf, bool isfile) | |||
115 | * if you're feeling brave. | 115 | * if you're feeling brave. |
116 | */ | 116 | */ |
117 | 117 | ||
118 | if (! strcmp(buf, DEFAULT_WPS(screen)) ) | 118 | if (buf && ! strcmp(buf, DEFAULT_WPS(screen)) ) |
119 | { | 119 | { |
120 | #ifdef HAVE_REMOTE_LCD | 120 | #ifdef HAVE_REMOTE_LCD |
121 | if (screen == SCREEN_REMOTE) | 121 | if (screen == SCREEN_REMOTE) |