kernel: update linux 3.2 to 3.2.9
[openwrt.git] / package / mac80211 / files / lib / wifi / mac80211.sh
index 13390b8..ff5470b 100644 (file)
@@ -16,6 +16,7 @@ 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
        config_get beacon_int "$device" beacon_int
        config_get basic_rate_list "$device" basic_rate
        config_get_bool noscan "$device" noscan
+       config_get_bool short_preamble "$device" short_preamble "0"
 
        hostapd_set_log_options base_cfg "$device"
 
 
        hostapd_set_log_options base_cfg "$device"
 
@@ -76,6 +77,8 @@ mac80211_hostapd_setup_base() {
                        brstr="$brstr$brval"
                done
        }
                        brstr="$brstr$brval"
                done
        }
+
+       append base_cfg "preamble=$short_preamble" "$N"
        
        cat >> "$cfgfile" <<EOF
 ctrl_interface=/var/run/hostapd-$phy
        
        cat >> "$cfgfile" <<EOF
 ctrl_interface=/var/run/hostapd-$phy
This page took 0.019972 seconds and 4 git commands to generate.