package/madwifi: add uci support for the propereq iwpriv setting
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 1 Jan 2009 17:29:58 +0000 (17:29 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 1 Jan 2009 17:29:58 +0000 (17:29 +0000)
SVN-Revision: 13795

package/madwifi/files/lib/wifi/madwifi.sh

index 1b86c2603b731a07bbf9cfbc0e1cb9ad97359b70..d53bc064ca0ab7d841799e704eff7ba794f7add8 100755 (executable)
@@ -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