mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-11 11:38:41 +01:00
inteno-netmodes: do not create repeater mode for 2.4 only devices
This commit is contained in:
parent
cb81c8fad6
commit
1da89a58b6
1 changed files with 7 additions and 0 deletions
|
|
@ -69,6 +69,13 @@ populate_netmodes() {
|
|||
local hardware=$(db get hw.board.hardware)
|
||||
local keys lang desc exp exclude
|
||||
for mode in $(ls $modedir); do
|
||||
|
||||
case "$mode" in
|
||||
repeater*)
|
||||
wlctl -i wl1 ap >/dev/null 2>&1 || continue
|
||||
;;
|
||||
esac
|
||||
|
||||
lang=""
|
||||
desc=""
|
||||
exp=""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue