Skip to content

Fix: utils-wifi-info for adapters with multiple wifi bands

Niklas requested to merge nm-fix-wifi-unifi-nanohd into DEV_openwrt-23

Problem: UniFi nanoHD has two wifi adapters 1st supports 2g wifi 2nd supports 2g and 5g wifi

with the old util 2nd would over 2g from 1st adapter and no 5g would be available

Changes:

  • populate variables $freq2 and $freq5 correctly if multiple frequency bands are supported
  • only set 2g radio, if not set already

Tested with UniFi nanoHD von Max

Merge request reports

Loading