diff --git a/pwnagotchi/plugins/default/bt-tether.py b/pwnagotchi/plugins/default/bt-tether.py index 5ce0d0db..4665fb80 100644 --- a/pwnagotchi/plugins/default/bt-tether.py +++ b/pwnagotchi/plugins/default/bt-tether.py @@ -122,7 +122,7 @@ class BTNap: device = ifaces.get(BTNap.IFACE_DEV) if device is None: continue - if str(device['Address']) == device_address and path.startswith(path_prefix): + if str(device['Address']).lower() == device_address.lower() and path.startswith(path_prefix): obj = bus.get_object(BTNap.IFACE_BASE, path) return dbus.Interface(obj, BTNap.IFACE_DEV) raise BTError('Bluetooth device not found')