Support passing no driver to wpa_supplicant

This commit is contained in:
David Paleino committed 2012-02-12 10:41:27 +01:00
1 parent 7f2df5b423
commit b161427e4d
5 files changed
+13 -3

No files matched your search

+1
View File
@@ -298,6 +298,7 @@ class PrefsDialog(urwid.WidgetWrap):
# wpa_supplicant janx
self.wpadrivers = wireless.GetWpaSupplicantDrivers()
self.wpadrivers.append("ralink_legacy")
self.wpadrivers.append('none')
# Same as above with the dbus.String
self.thedrivers = [unicode(w) for w in self.wpadrivers]
self.wpa_cbox.set_list(self.thedrivers)