projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
FF-Wizard: assign matching network interface to wireless configuration
[project/luci.git]
/
applications
/
luci-ffwizard-leipzig
/
luasrc
/
model
/
cbi
/
ffwizard.lua
diff --git
a/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
b/applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
index
cdace2b
..
dcde962
100644
(file)
--- a/
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
+++ b/
applications/luci-ffwizard-leipzig/luasrc/model/cbi/ffwizard.lua
@@
-156,6
+156,7
@@
function main.write(self, section, value)
-- Create wifi iface
local ifconfig = _strip_internals(uci:get_all("freifunk", "wifi_iface"))
ifconfig.device = device
+ ifconfig.network = device
uci:section("wireless", "wifi-iface", nil, ifconfig)
-- Save wifi