summaryrefslogtreecommitdiff
path: root/package/madwifi/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-01-01 17:29:58 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-01-01 17:29:58 +0000
commit4a1148cf7b541a78552fcfc15c3013d4e2134c62 (patch)
treec04fdcc83cc03e208917d9be1da4ead2d8aebc75 /package/madwifi/files
parent0b5333be4bd690a484fcef6da6455a429530376d (diff)
downloadmtk-20170518-4a1148cf7b541a78552fcfc15c3013d4e2134c62.zip
mtk-20170518-4a1148cf7b541a78552fcfc15c3013d4e2134c62.tar.gz
mtk-20170518-4a1148cf7b541a78552fcfc15c3013d4e2134c62.tar.bz2
package/madwifi: add uci support for the propereq iwpriv setting
SVN-Revision: 13795
Diffstat (limited to 'package/madwifi/files')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 1b86c26..d53bc06 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -250,6 +250,9 @@ enable_atheros() {
config_get_bool doth "$vif" doth 0
[ -n "$doth" ] && iwpriv "$ifname" doth "$doth"
+ config_get_bool probereq "$vif" probereq
+ [ -n "$probereq" ] && iwpriv "$ifname" probereq "$probereq"
+
config_get maclist "$vif" maclist
[ -n "$maclist" ] && {
# flush MAC list