mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
mac80211: add missing set_default to fix stray "radio0: sh: bad number" messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39028 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -85,6 +85,8 @@ mac80211_hostapd_setup_bss() {
|
||||
hostapd_set_bss_options hostapd_cfg "$vif" || return 1
|
||||
json_get_vars wds dtim_period max_listen_int
|
||||
|
||||
set_default wds 0
|
||||
|
||||
[ "$wds" -gt 0 ] && append hostapd_cfg "wds_sta=1" "$N"
|
||||
[ "$staidx" -gt 0 ] && append hostapd_cfg "start_disabled=1" "$N"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user