#20102: LuCI fix: unable to select AP channel even though all STA networks are
disabled
-------------------------------------------------+-------------------------
Reporter: gvalkov | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Chaos
Component: luci | Calmer (trunk)
Keywords: LuCI AP STA channel locked disabled | Version: Trunk
network |
-------------------------------------------------+-------------------------
When editing an AP wireless network in LuCI, if one or more STA networks
are also present on the same radio, then the channel is locked and cannot
be changed for the AP. The case when all STA networks are disabled is not
considered.
This patch fixes the issue. Disabled networks no longer apply a lock on
the channel.
Fix overview:
{{{
path on router:
/usr/lib/lua/luci/model/cbi/admin_network/wifi.lua
path on source code:
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua
line:146
- if net:mode() == "sta" then
+ if net:mode() == "sta" and net:get("disabled") ~= "1" then
}}}
Channel: '''Locked to channel 8 used by: Client "gvalkov"'''
--
Ticket URL: <https://dev.openwrt.org/ticket/20102>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets