diff options
Diffstat (limited to 'apps')
-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) * if you're feeling brave. */ - if (! strcmp(buf, DEFAULT_WPS(screen)) ) + if (buf && ! strcmp(buf, DEFAULT_WPS(screen)) ) { #ifdef HAVE_REMOTE_LCD if (screen == SCREEN_REMOTE) |