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:
parent
b599c882ce
commit
b5d1f2c08c
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ class BluetoothPanel(gtk.VBox):
|
||||||
self.ip_address_label.set_text("IP: %s" % self.get_ip_address())
|
self.ip_address_label.set_text("IP: %s" % self.get_ip_address())
|
||||||
|
|
||||||
def get_name(self):
|
def get_name(self):
|
||||||
hciconfig = ProcessInterface("hciconfig hci0 name")
|
hciconfig = ProcessInterface("%s hci0 name" % HCICONFIG_CMD)
|
||||||
while not hciconfig.process_finished():
|
while not hciconfig.process_finished():
|
||||||
time.sleep(0.1) ## wait for command to compute
|
time.sleep(0.1) ## wait for command to compute
|
||||||
output = hciconfig.read_from_process()
|
output = hciconfig.read_from_process()
|
||||||
|
|
Loading…
Reference in a new issue