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

git-svn-id: http://www.neo1973-germany.de/svn@72 46df4e5c-bc4e-4628-a0fc-830ba316316d
This commit is contained in:
kriss 2008-04-05 21:40:51 +00:00
parent b599c882ce
commit b5d1f2c08c

View file

@ -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()