mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-07 01:53:34 +08:00
mtwifi-cfg: fix bssidnum sanity
This commit is contained in:
parent
517712ed6f
commit
11491e5005
@ -234,7 +234,7 @@ function mtwifi_cfg_setup(argv)
|
||||
if vif_num == 0 then
|
||||
nixio.syslog("err", "mtwifi-cfg: not valid vif found!")
|
||||
return
|
||||
elseif vif_num > defs.max_mbssid then
|
||||
elseif bssid_num > defs.max_mbssid then
|
||||
nixio.syslog("err", "mtwifi-cfg: too many vifs!")
|
||||
return
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user