Skip to content

Commit

Permalink
Merge pull request #167 from opentechinstitute/issue_166
Browse files Browse the repository at this point in the history
Issue #166 Fix, tested by jheretic.
  • Loading branch information
jheretic committed Feb 24, 2014
2 parents 6ae0dd7 + 191d9ed commit fd612e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luasrc/model/cbi/commotion/security_pass.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ if #mesh_ifaces > 1 then
local meshPW = m:section(NamedSection, x.name, "wifi-iface", x.name, pw_text)
meshPW = pw_sec_opt(meshPW, x, 'adhoc')
end
else
elseif #mesh_ifaces == 1 then
local meshPW = m:section(NamedSection, mesh_ifaces[1].name, "wifi-iface", mesh_ifaces[1].name, pw_text)
meshPW = pw_sec_opt(meshPW, mesh_ifaces[1], 'adhoc')
end
Expand Down

0 comments on commit fd612e3

Please sign in to comment.