FF-Wizard: assign matching network interface to wireless configuration

This commit is contained in:
Steven Barth 2008-09-14 00:14:36 +00:00
parent d688dad611
commit 014b6b9b63

View file

@ -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