Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.71 KB | None | 0 0
  1. diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
  2. index 6dc4e5bf5f..41517e7910 100644
  3. --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
  4. +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
  5. @@ -308,6 +308,10 @@ mac80211_hostapd_setup_base() {
  6.                 [ -n "$vht_capab" ] && append base_cfg "vht_capab=$vht_capab" "$N"
  7.         fi
  8.  
  9. +       if [ -n "$hostapd_noscan" ] && ! /usr/sbin/hostapd -v11n; then
  10. +               hostapd_noscan=
  11. +       fi
  12. +
  13.         hostapd_prepare_device_config "$hostapd_conf_file" nl80211
  14.         cat >> "$hostapd_conf_file" <<EOF
  15.  ${channel:+channel=$channel}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement