Revert commit 691/8aa66e4: Don't support wireless networks with '\x00' in the ESSID
This commit is contained in:
1 parent
d85033998e
commit
8248152cfb
5 files changed
-28
No files matched your search
@@ -1252,11 +1252,6 @@ class BaseWirelessInterface(BaseInterface):
|
||||
print 'Unicode problem with current network essid, ignoring!!'
|
||||
return None
|
||||
|
||||
# We (well, DBus) don't support ESSIDs with null bytes in it.
|
||||
# Substitute the byte for use everywhere, so that the UIs know
|
||||
# what to disable.
|
||||
ap['essid'].replace('\x00', '<NULL>')
|
||||
|
||||
if ap['essid'] in ['Hidden', '<hidden>', "", None]:
|
||||
print 'hidden'
|
||||
ap['hidden'] = True
|
||||
|
||||
Reference in new issue
Block a user