summaryrefslogtreecommitdiff
path: root/package/mac80211/files/lib/wifi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-08-20 00:14:48 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-08-20 00:14:48 +0000
commit9d33a50cbbe8bd48b5978fd4e41fccecd9396f5a (patch)
tree360d147c7050a015f851c301146e12a465f438c0 /package/mac80211/files/lib/wifi
parentcfc23e4c491b950169e9c46c0bfb2caab78afc46 (diff)
downloadmtk-20170518-9d33a50cbbe8bd48b5978fd4e41fccecd9396f5a.zip
mtk-20170518-9d33a50cbbe8bd48b5978fd4e41fccecd9396f5a.tar.gz
mtk-20170518-9d33a50cbbe8bd48b5978fd4e41fccecd9396f5a.tar.bz2
mac80211: configure hostapd logging options
SVN-Revision: 28057
Diffstat (limited to 'package/mac80211/files/lib/wifi')
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index 86ec75c..9ef1d12 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -16,6 +16,9 @@ mac80211_hostapd_setup_base() {
config_get beacon_int "$device" beacon_int
config_get basic_rate_list "$device" basic_rate
config_get_bool noscan "$device" noscan
+
+ hostapd_set_log_options base_cfg "$device"
+
[ -n "$channel" -a -z "$hwmode" ] && wifi_fixup_hwmode "$device"
[ "$channel" = auto ] && {