| diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh |
| index 27eecf3..318de3a 100644 |
| --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh |
| +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh |
| @@ -141,9 +141,6 @@ mac80211_hostapd_setup_base() { |
| json_get_values ht_capab_list ht_capab tx_burst |
| json_get_values channel_list channels |
| |
| - [ "$auto_channel" = 0 ] && [ -z "$channel_list" ] && \ |
| - channel_list="$channel" |
| - |
| set_default noscan 0 |
| |
| [ "$noscan" -gt 0 ] && hostapd_noscan=1 |
| @@ -413,9 +410,9 @@ mac80211_hostapd_setup_base() { |
| he_spr_non_srg_obss_pd_max_offset:1 \ |
| he_bss_color |
| |
| - he_phy_cap=$(iw phy "$phy" info | awk -F "[()]" '/HE PHY Capabilities/ { print $2 }' | head -1) |
| + he_phy_cap=$(iw phy "$phy" info | grep "HE Iftypes: AP" -A 50 | awk -F "[()]" '/HE PHY Capabilities/ { print $2 }' | head -1) |
| he_phy_cap=${he_phy_cap:2} |
| - he_mac_cap=$(iw phy "$phy" info | awk -F "[()]" '/HE MAC Capabilities/ { print $2 }' | head -1) |
| + he_mac_cap=$(iw phy "$phy" info | grep "HE Iftypes: AP" -A 50 | awk -F "[()]" '/HE MAC Capabilities/ { print $2 }' | head -1) |
| he_mac_cap=${he_mac_cap:2} |
| |
| append base_cfg "ieee80211ax=1" "$N" |
| -- |
| 2.29.2 |
| |