madwifi: disable compression by default, as it can cause instabilities on various...
[openwrt/openwrt.git] / package / madwifi / files / lib / wifi / madwifi.sh
index 7056611..8097806 100755 (executable)
@@ -232,8 +232,8 @@ enable_atheros() {
                config_get rts "$vif" rts
                [ -n "$rts" ] && iwconfig "$ifname" rts "${rts%%.*}"
 
                config_get rts "$vif" rts
                [ -n "$rts" ] && iwconfig "$ifname" rts "${rts%%.*}"
 
-               config_get_bool comp "$vif" compression
-               [ -n "$comp" ] && iwpriv "$ifname" compression "$comp"
+               config_get_bool comp "$vif" compression 0
+               iwpriv "$ifname" compression "$comp"
 
                config_get_bool minrate "$vif" minrate
                [ -n "$minrate" ] && iwpriv "$ifname" minrate "$minrate"
 
                config_get_bool minrate "$vif" minrate
                [ -n "$minrate" ] && iwpriv "$ifname" minrate "$minrate"