[brcm63xx] off-by-one gpio numbers for bcm6338
[openwrt.git] / package / hostapd / files / hostapd.sh
index 0008a22..270b909 100644 (file)
@@ -76,6 +76,9 @@ hostapd_setup_vif() {
        config_get device "$vif" device
        config_get channel "$device" channel
        config_get hwmode "$device" hwmode
+       case "$hwmode" in
+               bg) hwmode=g;;
+       esac
        config_get country "$device" country
        [ "$channel" = auto ] && channel=
        [ -n "$channel" -a -z "$hwmode" ] && wifi_fixup_hwmode "$device"
@@ -94,7 +97,6 @@ ${hwmode:+hw_mode=$hwmode}
 ${channel:+channel=$channel}
 ${bridge:+bridge=$bridge}
 ssid=$ssid
-debug=0
 wpa=$wpa
 ${crypto:+wpa_pairwise=$crypto}
 ${country:+country_code=$country}
This page took 0.024694 seconds and 4 git commands to generate.