From 3813d639debd6c73f46590a29215c2ccd079843e Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Thu, 27 Jan 2011 13:52:37 +0000 Subject: applications/ffwizard: Do not disable diversity because we don't know which antenna is connected. Instead show a warning on admin/freifunk/adminindex when diversity is enabled and tell the user to change that. --- .../luci-ffwizard/root/etc/uci-defaults/device-defaults | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'applications/luci-ffwizard/root/etc/uci-defaults') diff --git a/applications/luci-ffwizard/root/etc/uci-defaults/device-defaults b/applications/luci-ffwizard/root/etc/uci-defaults/device-defaults index 011148d59..6a70e67a2 100755 --- a/applications/luci-ffwizard/root/etc/uci-defaults/device-defaults +++ b/applications/luci-ffwizard/root/etc/uci-defaults/device-defaults @@ -8,9 +8,7 @@ set_default_config() atheros) uci -q batch <<-EOF set freifunk.wifi_device.channel=1 - set freifunk.wifi_device.diversity=0 - set freifunk.wifi_device.txantenna=1 - set freifunk.wifi_device.rxantenna=1 + set freifunk.wifi_device.diversity=1 set freifunk.wifi_device.disabled=0 set freifunk.wifi_device.txpower="" set freifunk.wifi_device.hwmode=11g @@ -27,7 +25,7 @@ set_default_config() mac80211) uci -q batch <<-EOF set freifunk.wifi_device.channel=1 - set freifunk.wifi_device.diversity="" + set freifunk.wifi_device.diversity=1 set freifunk.wifi_device.disabled=0 set freifunk.wifi_device.txpower="" set freifunk.wifi_device.distance=1000 @@ -43,11 +41,9 @@ set_default_config() broadcom) uci -q batch <<-EOF set freifunk.wifi_device.channel=1 - set freifunk.wifi_device.diversity="" + set freifunk.wifi_device.diversity=1 set freifunk.wifi_device.disabled=0 set freifunk.wifi_device.txpower="" - set freifunk.wifi_device.txantenna=0 - set freifunk.wifi_device.rxantenna=0 set freifunk.wifi_device.hwmode=11g set freifunk.wifi_device.distance=1000 set freifunk.wifi_iface=defaults -- cgit v1.2.3