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 1b86c26..d53bc06 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