From 3c1c9d4400ff8b6773187dd195ed3594221ca0b2 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 24 Jul 2012 11:37:38 +0000 Subject: modules/admin-full: copy bssid when joining a network as client (#455) --- modules/admin-full/luasrc/model/cbi/admin_network/wifi_add.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/admin-full') 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 -- cgit v1.2.3