Add check if connected but no interface created
This commit is contained in:
parent
5b66d687c4
commit
53ae8ea1cf
@ -515,6 +515,11 @@ class BTTether(plugins.Plugin):
|
|||||||
device.network, success = BTNap.nap(dev_remote)
|
device.network, success = BTNap.nap(dev_remote)
|
||||||
|
|
||||||
if success:
|
if success:
|
||||||
|
if device.interface() is None:
|
||||||
|
ui.set('bluetooth', 'BE')
|
||||||
|
logging.info('BT-TETHER: Could not establish nap connection with %s', device.name)
|
||||||
|
continue
|
||||||
|
|
||||||
logging.info('BT-TETHER: Created interface (%s)', device.interface())
|
logging.info('BT-TETHER: Created interface (%s)', device.interface())
|
||||||
ui.set('bluetooth', 'C')
|
ui.set('bluetooth', 'C')
|
||||||
any_device_connected = True
|
any_device_connected = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user