#1720 nmclient.Device was not returning the ssid of the active network.

This commit is contained in:
Tomeu Vizoso
2007-07-11 12:40:23 +02:00
parent dde018a63e
commit 0c1a017932
3 changed files with 7 additions and 2 deletions
+2
View File
@@ -54,6 +54,8 @@ class Device(device.Device):
if pspec.name == 'strength':
return self._nm_device.get_strength()
elif pspec.name == 'name':
import logging
logging.debug('wireless.Device.props.name: %s' % self._nm_device.get_ssid())
return self._nm_device.get_ssid()
elif pspec.name == 'state':
nm_state = self._nm_device.get_state()