forked from freifunk-franken/firmware
Disable 802.11b rates using OpenWRT option
Instead of manually overwriting basic and supported rates, this patch makes use of a new OpenWRT option "legacy_rates", which disables 802.11b data rates. Signed-off-by: Fabian Bläse <fabian@blaese.de> Reviewed-by: Christian Dresel <fff@chrisi01.de>
This commit is contained in:
parent
ef00054916
commit
b66f04012b
|
@ -57,8 +57,7 @@ wifiAddPhy() {
|
|||
__EOF__
|
||||
if [ "$hwmode" = "11g" ]; then
|
||||
uci batch <<-__EOF__
|
||||
set wireless.${radio}.supported_rates='6000 9000 12000 18000 24000 36000 48000 54000'
|
||||
set wireless.${radio}.basic_rate='6000 9000 18000 36000 54000'
|
||||
set wireless.${radio}.legacy_rates='0'
|
||||
__EOF__
|
||||
fi
|
||||
uci commit wireless
|
||||
|
|
Loading…
Reference in New Issue