From f4b886cf7bbf12e065307d04394a39b94ec74022 Mon Sep 17 00:00:00 2001
From: Ben Lebherz <benleb@users.noreply.github.com>
Date: Tue, 12 Nov 2019 08:37:36 +0100
Subject: [PATCH] fix baudrate option name

---
 pwnagotchi/plugins/default/gps.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pwnagotchi/plugins/default/gps.py b/pwnagotchi/plugins/default/gps.py
index 3d7d38f..9a13ea5 100644
--- a/pwnagotchi/plugins/default/gps.py
+++ b/pwnagotchi/plugins/default/gps.py
@@ -25,7 +25,7 @@ class GPS(plugins.Plugin):
                 pass
 
             agent.run('set gps.device %s' % self.options['device'])
-            agent.run('set gps.speed %d' % self.options['speed'])
+            agent.run('set gps.baudrate %d' % self.options['speed'])
             agent.run('gps on')
             self.running = True
         else: