diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-07-24 11:37:38 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-07-24 11:37:38 +0000 |
commit | 3c1c9d4400ff8b6773187dd195ed3594221ca0b2 (patch) | |
tree | 9cd693b0336cf1013bf66a5b06833c81dbfa7bf8 /modules | |
parent | 746a5be1a896424b6e7db2cd0df107cb847831a8 (diff) |
modules/admin-full: copy bssid when joining a network as client (#455)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua b/modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua index ff63c2626..5b646d9a3 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua @@ -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 |