summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-20 00:14:48 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-20 00:14:48 +0000
commit31189640a74dd35cc5dd0f812d0f37a7b9d83018 (patch)
treec563a57663b5297fecb3dc7a8fcf55d4b575846b /package
parent4f0278e702bf179e8982a8fa860fc1f613b81ba1 (diff)
[package] mac80211: configure hostapd logging options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28057 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/Makefile4
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh3
2 files changed, 5 insertions, 2 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index cb1080fd3e..307916216c 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2007-2010 OpenWrt.org
+# Copyright (C) 2007-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=mac80211
PKG_VERSION:=2011-08-10
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
PKG_MD5SUM:=fb2ee04eaafbdf4117c475ba78f8f5b9
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index 86ec75cec3..9ef1d12623 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 ] && {