modules/admin-full: copy bssid when joining a network as client (#455)

This commit is contained in:
Jo-Philipp Wich 2012-07-24 11:37:38 +00:00
parent 746a5be1a8
commit 3c1c9d4400

View file

@ -145,7 +145,7 @@ function newnet.parse(self, section)
wconf.encryption = "none"
end
if wconf.mode == "adhoc" then
if wconf.mode == "adhoc" or wconf.mode == "sta" then
wconf.bssid = m.hidden.bssid
end