BUGFIX: use configured command when calling hciconfig - Thanks haakeyar!

git-svn-id: http://www.neo1973-germany.de/svn@72 46df4e5c-bc4e-4628-a0fc-830ba316316d
main
kriss 16 years ago
parent b599c882ce
commit b5d1f2c08c

@ -401,7 +401,7 @@ class BluetoothPanel(gtk.VBox):
self.ip_address_label.set_text("IP: %s" % self.get_ip_address())
def get_name(self):
hciconfig = ProcessInterface("hciconfig hci0 name")
hciconfig = ProcessInterface("%s hci0 name" % HCICONFIG_CMD)
while not hciconfig.process_finished():
time.sleep(0.1) ## wait for command to compute
output = hciconfig.read_from_process()

Loading…
Cancel
Save