summary refs log tree commit diff
path: root/gnu/installer/connman.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2019-05-29 09:44:44 +0200
committerMathieu Othacehe <m.othacehe@gmail.com>2019-05-29 11:44:49 +0200
commit694cb8dc62f59fb67799ad4908a6b12cf7cb49a3 (patch)
tree5407e94dc7626cdd43b5e8d66aaeda78902dcc4f /gnu/installer/connman.scm
parent4b92dac20fbca636201a38916d65bf825d69cd7f (diff)
downloadguix-694cb8dc62f59fb67799ad4908a6b12cf7cb49a3.tar.gz
installer: Fix wifi menu crash with hidden SSIDs.
This fixes https://issues.guix.gnu.org/issue/35622.

* gnu/installer/connman.scm (<service>): Mention that name may be false.
* gnu/installer/newt/wifi.scm (wifi-services): Filter out wifi services
without name.

Co-authored by: Pierre Neidhardt <mail@ambrevar.xyz>
Diffstat (limited to 'gnu/installer/connman.scm')
-rw-r--r--gnu/installer/connman.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/installer/connman.scm b/gnu/installer/connman.scm
index ef8cca3952..7f47b9af77 100644
--- a/gnu/installer/connman.scm
+++ b/gnu/installer/connman.scm
@@ -108,7 +108,7 @@
 (define-record-type* <service>
   service make-service
   service?
-  (name            service-name) ; string
+  (name            service-name) ; string or #f
   (type            service-type) ; string
   (path            service-path) ; string
   (strength        service-strength) ; integer